importResourceFromContent()
публичный Метод
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.
The specified filename will be used when presenting the resource to a user. Its file extension is
important because the resource management will derive the IANA Media Type from it.
public importResourceFromContent ( string $content ) : PersistentResource |
$content |
string |
The actual content to import |
Результат |
PersistentResource |
A resource object representing the imported resource |