Symfony\Component\Finder\Finder::create PHP 메소드

create() 공개 정적인 메소드

Creates a new Finder.
public static create ( ) : Finder
리턴 Finder A new Finder instance
    public static function create()
    {
        return new static();
    }

Usage Example

예제 #1
0
 /**
  * Scan themes directory.
  */
 public function scan()
 {
     $files = $this->finder->create()->in($this->getBasePath())->name('theme.json');
     foreach ($files as $file) {
         $this->register($file);
     }
 }
All Usage Examples Of Symfony\Component\Finder\Finder::create