Common\Doctrine\ValueObject\SEOFollow::__construct PHP Method

__construct() public method

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