예제 #1
0
 public function __construct($a)
 {
     parent::__construct(new \ArrayIterator($a));
 }
예제 #2
0
 /**
  * OnDemandFileReader constructor.
  * @param string $path
  */
 public function __construct($path)
 {
     parent::__construct(new \SplFileObject($path));
 }