src/Utility/StackedStates.php
public function setValue($name, $value) {
        $this->_states[count($this->_states) - 1][1][$name] = $value;
    }
public function setValue($name, $value) {
        $this->_states[count($this->_states) - 1][1][$name] = $value;
    }
public function setValue ( $ name , $ value ) { $ this -> _states [ count ( $ this -> _states ) - 1 ] [ 1 ] [ $ name ] = $ value ; }
Set a value of the current state.

@param mixed $name Name of the attribute to set.
@param mixed $value New value for the attribute.
Set a value of the current state .