프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$addedResources | SplObjectStorage | ||
$entityManager | Doctrine\Common\Persistence\ObjectManager | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$removedResources | SplObjectStorage |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor | |
add ( object $object ) | ||
findAllIterator ( ) : Doctrine\ORM\Internal\Hydration\IterableResult | Finds all objects and return an IterableResult | |
findByCollectionNameIterator ( string $collectionName ) : Doctrine\ORM\Internal\Hydration\IterableResult | Finds all objects by collection name and return an IterableResult | |
findByIdentifier ( mixed $identifier ) : object | Finds an object matching the given identifier. | |
findBySha1 ( string $sha1Hash ) : array | Find all resources with the same SHA1 hash | |
findOneBySha1 ( string $sha1Hash ) : |
Find one resource by SHA1 | |
findSimilarResources ( |
Finds other resources which are referring to the same resource data and filename | |
getAddedResources ( ) : SplObjectStorage | ||
iterate ( Doctrine\ORM\Internal\Hydration\IterableResult $iterator, callable $callback = null ) : Generator | Allow to iterate on an IterableResult and return a Generator | |
remove ( object $object ) : void | Removes a PersistentResource object from this repository |
public findAllIterator ( ) : Doctrine\ORM\Internal\Hydration\IterableResult | ||
리턴 | Doctrine\ORM\Internal\Hydration\IterableResult |
public findByCollectionNameIterator ( string $collectionName ) : Doctrine\ORM\Internal\Hydration\IterableResult | ||
$collectionName | string | |
리턴 | Doctrine\ORM\Internal\Hydration\IterableResult |
public findByIdentifier ( mixed $identifier ) : object | ||
$identifier | mixed | The identifier of the object to find |
리턴 | object | The matching object if found, otherwise NULL |
public findBySha1 ( string $sha1Hash ) : array | ||
$sha1Hash | string | |
리턴 | array |
public findOneBySha1 ( string $sha1Hash ) : |
||
$sha1Hash | string | |
리턴 |
public findSimilarResources ( |
||
$resource | The resource used for finding similar resources | |
리턴 | Neos\Flow\Persistence\QueryResultInterface | The result, including the given resource |
protected ObjectManager,Doctrine\Common\Persistence $entityManager | ||
리턴 | Doctrine\Common\Persistence\ObjectManager |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
리턴 | Neos\Flow\Persistence\PersistenceManagerInterface |