/** * @inheritdoc Initialise the $files static array. */ public function init() { if (empty(self::$files[static::EXTENSION]) && in_array(static::EXTENSION, $this->module->patterns)) { self::$files[static::EXTENSION] = FileHelper::findFiles(realpath($this->_getRoot()), ['except' => $this->module->ignoredItems, 'only' => [static::EXTENSION]]); } parent::init(); }
/** * @inheritdoc Initialise the $files static array. */ public function init() { $this->initFiles(); parent::init(); }