each() 공개 메소드

Overridden to load any data that has not yet been loaded.
public each ( callback $filter ) : object
$filter callback The filter to apply.
리턴 object This collection instance.
예제 #1
0
파일: RecordSet.php 프로젝트: EHER/chegamos
 /**
  * Applies a callback to all data in the collection.
  *
  * Overriden to load any data that has not yet been loaded.
  *
  * @param callback $filter The filter to apply.
  * @return object This collection instance.
  */
 public function each($filter)
 {
     $this->offsetGet(null);
     return parent::each($filter);
 }