Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Neos
Flow
ResourceManagement
CollectionInterface
importResource
Neos\Flow\ResourceManagement\CollectionInterface::importResource PHP Method
CollectionInterface Interface Documentation
Exibir arquivo
Open project: neos/flow-development-collection
importResource()
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
importResource
(
string
| resource
$source
) :
PersistentResource
$source
string
| resource
return
PersistentResource
A resource object representing the imported resource
public function importResource($source);
CollectionInterface
getName
getObjects
getStorage
getStreamByResource
getTarget
importResource
importResourceFromContent
publish