src/FactoryPhoto.php
public static function create(array $data): \One\Model\Photo
    {
        $url = self::validateUrl((string) self::checkData($data, 'url', ''));
        $ratio = self::validateString((string) self::checkData($data, 'ratio', ''));
        $description = self::validateString((string) self::checkData($data, 'description', ''));

        $information = self::validateString((string) self::checkData($data, 'information', ''));

        return self::createPhoto($url, $ratio, $description, $information);
    }
public static function create(array $data): \One\Model\Photo
    {
        $url = self::validateUrl((string) self::checkData($data, 'url', ''));
        $ratio = self::validateString((string) self::checkData($data, 'ratio', ''));
        $description = self::validateString((string) self::checkData($data, 'description', ''));

        $information = self::validateString((string) self::checkData($data, 'information', ''));

        return self::createPhoto($url, $ratio, $description, $information);
    }
function Create Photo Attachment