Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Neos
Media
TypeConverter
ImageInterfaceArrayPresenter
canConvertFrom
Neos\Media\TypeConverter\ImageInterfaceArrayPresenter::canConvertFrom PHP Method
ImageInterfaceArrayPresenter Class Documentation
Mostrar archivo
Open project: neos/neos-development-collection
canConvertFrom()
public
method
If $source has an identity, we have a persisted Image, and therefore this type converter should withdraw and let the PersistedObjectConverter kick in.
public
canConvertFrom
(
mixed
$source
,
string
$targetType
) :
boolean
$source
mixed
The source for the to-build Image
$targetType
string
Should always be 'string'
return
boolean
public function canConvertFrom($source, $targetType) { return true; }
ImageInterfaceArrayPresenter
canConvertFrom
convertFrom
getSourceChildPropertiesToBeConverted