Neos\Flow\ResourceManagement\Storage\WritableStorageInterface::importResource PHP Метод

importResource() публичный Метод

On a successful import this method returns a PersistentResource object representing the newly imported persistent resource.
public importResource ( string | resource $source, string $collectionName ) : PersistentResource
$source string | resource
$collectionName string Name of the collection the new PersistentResource belongs to
Результат Neos\Flow\ResourceManagement\PersistentResource A resource object representing the imported resource
    public function importResource($source, $collectionName);