public function getList()
    {
        return $this->connection
            ->select()
            ->from($this->dummy->getTableName())
            ->orderBy($this->dummy->getIdField(), static::DEFAULT_ORDER)
            ->getAsClasses($this->getModelClass());
    }
public function getList()
    {
        return $this->connection
            ->select()
            ->from($this->dummy->getTableName())
            ->orderBy($this->dummy->getIdField(), static::DEFAULT_ORDER)
            ->getAsClasses($this->getModelClass());
    }
public function getList ( ) { return $ this -> connection -> select ( ) -> from ( $ this -> dummy -> getTableName ( ) ) -> orderBy ( $ this -> dummy -> getIdField ( ) , static :: DEFAULT_ORDER ) -> getAsClasses ( $ this -> getModelClass ( ) ) ; }
Return an array of the model which belongs to the repository

@return Model[]
Return an array of the model which belongs to the repository