src/Decorator/Style.php
protected function add($style, $key, $value)
    {
        $this->style[$style]->add($key, $value);

        // If we are adding a color, make sure it gets added
        // as a background color too
        if ($style == 'color') {
            $this->style['background']->add($key, $value);
        }
    }
protected function add($style, $key, $value)
    {
        $this->style[$style]->add($key, $value);

        // If we are adding a color, make sure it gets added
        // as a background color too
        if ($style == 'color') {
            $this->style['background']->add($key, $value);
        }
    }
protected function add ( $ style , $ key , $ value ) { $ this -> style [ $ style ] -> add ( $ key , $ value ) ; // If we are adding a color, make sure it gets added // as a background color too if ( $ style == 'color' ) { $ this -> style [ 'background' ] -> add ( $ key , $ value ) ; } }
Add a custom style

@param string $style
@param string $key
@param string $value
Add a custom style