Neos\Flow\ResourceManagement\Storage\WritableStorageInterface::importResource PHP Méthode

importResource() public méthode

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
Résultat Neos\Flow\ResourceManagement\PersistentResource A resource object representing the imported resource
    public function importResource($source, $collectionName);