public function attr($attribute, $value)
    {
        $this->setOption(self::OPTION_METHOD, "attr");
        $this->setOption(self::OPTION_ATTR, $attribute);
        $this->setOption(self::OPTION_VALUE, $value);

        return $this;
    }
public function attr($attribute, $value)
    {
        $this->setOption(self::OPTION_METHOD, "attr");
        $this->setOption(self::OPTION_ATTR, $attribute);
        $this->setOption(self::OPTION_VALUE, $value);

        return $this;
    }
public function attr ( $ attribute , $ value ) { $ this -> setOption ( self :: OPTION_METHOD , "attr" ) ; $ this -> setOption ( self :: OPTION_ATTR , $ attribute ) ; $ this -> setOption ( self :: OPTION_VALUE , $ value ) ; return $ this ; }
Changes attribute value of container

@param $attribute
@param null $value
@return $this
Changes attribute value of container