Neos\Media\TypeConverter\ImageInterfaceArrayPresenter::canConvertFrom PHP Méthode

canConvertFrom() public méthode

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'
Résultat boolean
    public function canConvertFrom($source, $targetType)
    {
        return true;
    }