public function fetchAllEntities()
    {
        $select = $this->tableGateway->getSql()->select();

        return $this->tableGateway->fetchCollection($select);
    }
public function fetchAllEntities()
    {
        $select = $this->tableGateway->getSql()->select();

        return $this->tableGateway->fetchCollection($select);
    }
public function fetchAllEntities ( ) { $ select = $ this -> tableGateway -> getSql ( ) -> select ( ) ; return $ this -> tableGateway -> fetchCollection ( $ select ) ; }
Fetch all entities

@return array
Fetch all entities