importResourceFromContent()
public method
On a successful import this method returns a PersistentResource object representing the newly
imported persistent resource.
Note that this collection must have a writable storage in order to import resources.
public importResourceFromContent ( string $content ) : PersistentResource |
$content |
string |
The actual content to import |
return |
PersistentResource |
A resource object representing the imported resource |