protected function editFieldhandlerAttribute($attribute)
    {
        $field_name = 'field_' . $attribute;

        $this->$field_name = null;

        if (isset($this->field[$attribute])) {
            $this->$field_name = $this->field[$attribute];

            return $this;
        }

        if ($attribute === 'value') {
            $this->$field_name = null;
            return $this;
        }

        throw new InvalidArgumentException(
            'No field ' . $attribute . ' passed into '
            . get_class($this)
            . ' FieldhandlerUsageTrait::editFieldhandlerAttribute '
        );
    }
protected function editFieldhandlerAttribute($attribute)
    {
        $field_name = 'field_' . $attribute;

        $this->$field_name = null;

        if (isset($this->field[$attribute])) {
            $this->$field_name = $this->field[$attribute];

            return $this;
        }

        if ($attribute === 'value') {
            $this->$field_name = null;
            return $this;
        }

        throw new InvalidArgumentException(
            'No field ' . $attribute . ' passed into '
            . get_class($this)
            . ' FieldhandlerUsageTrait::editFieldhandlerAttribute '
        );
    }
protected function editFieldhandlerAttribute ( $ attribute ) { $ field_name = 'field_' . $ attribute ; $ this -> $ field_name = null ; if ( isset ( $ this -> field [ $ attribute ] ) ) { $ this -> $ field_name = $ this -> field [ $ attribute ] ; return $ this ; } if ( $ attribute === 'value' ) { $ this -> $ field_name = null ; return $ this ; } throw new InvalidArgumentException ( 'No field ' . $ attribute . ' passed into ' . get_class ( $ this ) . ' FieldhandlerUsageTrait::editFieldhandlerAttribute ' ) ; }
Edit Fieldhandler Attribute

@param   string $attribute

@return  $this
@since   1.0.0
@throws  \CommonApi\Exception\InvalidArgumentException
Edit Fieldhandler Attribute