Common\Doctrine\ValueObject\SEOIndex::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $SEOIndex )
$SEOIndex string
    public function __construct($SEOIndex)
    {
        if (!in_array($SEOIndex, self::getPossibleValues())) {
            throw new \InvalidArgumentException('Invalid value');
        }
        $this->SEOIndex = $SEOIndex;
    }