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