コード例 #1
0
 public function setup()
 {
     $this->seen = Crankshaft::Set();
     $this->inner_iterator->rewind();
 }
コード例 #2
0
ファイル: Iterable.php プロジェクト: thumbtack/crankshaft
 /**
  * Public: Load all values from this iterable into a set.
  *
  * Returns a Set containing every remaining value in this iterable.
  */
 public function to_set()
 {
     return Crankshaft::Set($this);
 }