eZ\Publish\Core\FieldType\Validator::__get PHP 메소드

__get() 공개 메소드

Returns constraint value, from its $name.
public __get ( string $name ) : mixed
$name string
리턴 mixed
    public function __get($name)
    {
        if (!isset($this->constraints[$name])) {
            throw new PropertyNotFound("The constraint '{$name}' is not valid for this validator.");
        }
        return $this->constraints[$name];
    }