Nextras\Orm\Repository\IRepository::findAll PHP Method

findAll() public method

Returns entity collection with all entities.
public findAll ( ) : Nextras\Orm\Collection\ICollection
return Nextras\Orm\Collection\ICollection
    public function findAll();

Usage Example

Esempio n. 1
0
 protected function createComponentPagination() : Ytnuk\Orm\Pagination\Control
 {
     if (!$this->repository) {
         $this->error();
     }
     return new Ytnuk\Orm\Pagination\Control($this->repository->findAll(), self::ITEMS_PER_PAGE);
 }
All Usage Examples Of Nextras\Orm\Repository\IRepository::findAll