public static function create() { return new static(); }
/** * Scan themes directory. */ public function scan() { $files = $this->finder->create()->in($this->getBasePath())->name('theme.json'); foreach ($files as $file) { $this->register($file); } }