public function writeF($str, $args)
    {
        $args = func_get_args();
        if (count($args) < 2) {
            throw new \OutOfBoundsException('Missing argument #2');
        }

        return $this->write(vsprintf(array_shift($args), $args));
    }
public function writeF($str, $args)
    {
        $args = func_get_args();
        if (count($args) < 2) {
            throw new \OutOfBoundsException('Missing argument #2');
        }

        return $this->write(vsprintf(array_shift($args), $args));
    }
public function writeF ( $ str , $ args ) { $ args = func_get_args ( ) ; if ( count ( $ args ) < 2 ) { throw new \ OutOfBoundsException ( 'Missing argument #2' ) ; } return $ this -> write ( vsprintf ( array_shift ( $ args ) , $ args ) ) ; }
Writes a string with format

@param string $str
@param mixed  $args ... {@see http://jp2.php.net/manual/en/function.sprintf.php}

@throws \OutOfBoundsException

@return StreamWriter
Writes a string with format