mirocow\eav\models\EavAttributeRule::__get PHP Method

__get() public method

public __get ( $name )
    public function __get($name)
    {
        if (in_array($name, $this->getDefaultFields())) {
            return parent::__get($name);
        }
        if (in_array($name, $this->getSkipFields())) {
            $rules = Json::decode($this->rules);
            if (isset($rules[$name])) {
                return $rules[$name];
            }
        }
        return [];
    }