eZ\Publish\Core\FieldType\Author\Type::fromHash PHP 메소드

fromHash() 공개 메소드

Converts an $hash to the Value defined by the field type.
public fromHash ( mixed $hash ) : Value
$hash mixed
리턴 Value $value
    public function fromHash($hash)
    {
        return new Value(array_map(function ($author) {
            return new Author($author);
        }, $hash));
    }