Common\Doctrine\Entity\Meta::updateWithFormData PHP Метод

updateWithFormData() публичный статический Метод

Used in the transformer of the Symfony form type for this entity
public static updateWithFormData ( array $metaData ) : self
$metaData array
Результат self
    public static function updateWithFormData(array $metaData)
    {
        return new self($metaData['keywords'], $metaData['keywordsOverwrite'], $metaData['description'], $metaData['descriptionOverwrite'], $metaData['title'], $metaData['titleOverwrite'], $metaData['url'], $metaData['urlOverwrite'], array_key_exists('custom', $metaData) ? $metaData['custom'] : null, ['seo_index' => SEOIndex::fromString($metaData['SEOIndex']), 'seo_follow' => SEOFollow::fromString($metaData['SEOFollow'])], (int) $metaData['id']);
    }