App\Source\ModelFieldBuilder\Field::setInput PHP Метод

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

protected setInput ( $obj )
    protected function setInput($obj)
    {
        $this->inputObject = $obj;
        foreach ($obj as $key => $value) {
            $this->{$key} = $value;
        }
        $this->type = in_array($obj->type, $this->allowTypes) ? $obj->type : $this->defaultType;
    }