Neos\Flow\Persistence\Generic\QueryFactoryInterface::create PHP 메소드

create() 공개 메소드

Creates a query object working on the given class name
public create ( string $className ) : Neos\Flow\Persistence\QueryInterface
$className string
리턴 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