Пример #1
0
 /**
  * Sets the type of elements to returns.
  *
  * @param  string $name  directory or file or any (for both file and directory)
  * @return object new sfFinder object
  */
 public static function type($name)
 {
     $finder = new sfFinder();
     return $finder->setType($name);
 }