コード例 #1
0
ファイル: OnDemandArray.php プロジェクト: domraider/rxnet
 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));
 }