public function addWithOption($key, $option, $value, $append = true)
    {
        if (!isset($this->container[$key])) {
            $this->container[$key] = array(
                $option => $value
            );

        } else {
            // Option already exists, so now depending on $append 
            if ($append === true) {
                $this->container[$key][$option] = $value;
            }
        }

        return $this;
    }
public function addWithOption($key, $option, $value, $append = true)
    {
        if (!isset($this->container[$key])) {
            $this->container[$key] = array(
                $option => $value
            );

        } else {
            // Option already exists, so now depending on $append 
            if ($append === true) {
                $this->container[$key][$option] = $value;
            }
        }

        return $this;
    }
public function addWithOption ( $ key , $ option , $ value , $ append = true ) { if ( ! isset ( $ this -> container [ $ key ] ) ) { $ this -> container [ $ key ] = array ( $ option => $ value ) ; } else { // Option already exists, so now depending on $append  if ( $ append === true ) { $ this -> container [ $ key ] [ $ option ] = $ value ; } } return $ this ; }
Adds key data with option and its value

@param string $key
@param string $option
@param string $value
@param boolean $append Whether to append target option if key already exists
@return void
Adds key data with option and its value