create() public method

Creates a query object working on the given class name
public create ( string $className ) : Neos\Flow\Persistence\QueryInterface
$className string
return Neos\Flow\Persistence\QueryInterface
Esempio n. 1
0
 /**
  * Return a query object for the given type.
  *
  * @param string $type
  * @return QueryInterface
  */
 public function createQueryForType($type)
 {
     return $this->queryFactory->create($type);
 }