src/Decorator/Component/Format.php
public function set($val)
    {
        $code = $this->get($val);

        if ($code) {
            $this->current[] = $code;

            return true;
        }

        return false;
    }
public function set($val)
    {
        $code = $this->get($val);

        if ($code) {
            $this->current[] = $code;

            return true;
        }

        return false;
    }
public function set ( $ val ) { $ code = $ this -> get ( $ val ) ; if ( $ code ) { $ this -> current [ ] = $ code ; return true ; } return false ; }
Set the current format

@param  string $val

@return boolean
Set the current format