code: public static function create($path)
      {
          $engine = new self();
  
          /** @var $locator Collection*/
          $locator = $engine->getLocator();
  
          $locator->add(new FileSystemLocator($path));
  
          return $engine;
      }
docs: Creates a new instance for the directory path(s).
  
  @param array|string The directory path(s).
  
  @return Engine The new instance.