Neos\Flow\Persistence\Generic\QueryFactoryInterface::create PHP Method

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
    public function create($className);

Usage Example

示例#1
0
 /**
  * Return a query object for the given type.
  *
  * @param string $type
  * @return QueryInterface
  */
 public function createQueryForType($type)
 {
     return $this->queryFactory->create($type);
 }
QueryFactoryInterface