Overtrue\Validation\Validator::getValue PHP Метод

getValue() защищенный Метод

Get the value of a given attribute.
protected getValue ( string $attribute ) : mixed
$attribute string
Результат mixed
    protected function getValue($attribute)
    {
        if (!is_null($value = array_get($this->data, $attribute))) {
            return $value;
        } elseif (!is_null($value = array_get($this->files, $attribute))) {
            return $value;
        }
    }
Validator