public function __construct($path)
 {
     if (!hphp_directoryiterator___construct($this, $path)) {
         throw new UnexpectedValueException("DirectoryIterator::__construct({$path}): failed to open dir");
     }
 }
Example #2
0
 public function __construct($path)
 {
     hphp_directoryiterator___construct($this, $path);
 }