Returns an array of Collection instances which use the given storage
public getCollectionsByStorage ( Neos\Flow\ResourceManagement\Storage\StorageInterface $storage ) : array |
||
$storage | Neos\Flow\ResourceManagement\Storage\StorageInterface | |
return | array |
/** * Retrieve all Objects stored in this storage. * * @param callable $callback Function called after each iteration * @return \Generator<Object> */ public function getObjects(callable $callback = null) { foreach ($this->resourceManager->getCollectionsByStorage($this) as $collection) { (yield $this->getObjectsByCollection($collection, $callback)); } }