public function all(QueryParameters $queryParameters = null) {
        return $this->getQuery(
            $this->createSelectQuery(),
            $queryParameters
        )->getResult();
    }
public function all(QueryParameters $queryParameters = null) {
        return $this->getQuery(
            $this->createSelectQuery(),
            $queryParameters
        )->getResult();
    }
public function all ( QueryParameters $ queryParameters = null ) { return $ this -> getQuery ( $ this -> createSelectQuery ( ) , $ queryParameters ) -> getResult ( ) ; }
Retrieves all entities.

@param QueryParameters  $queryParameters extra query parameters
@return mixed
Retrieves all entities .