public function generate($input, $output, array $options = array(),
        $overwrite = false)
    {
        $this->log(sprintf(
            'Generate from file (%s) to file (%s)',
            $input, $output
        ));

        return $this->getGenerator()->generate(
            $input, $output, $options, $overwrite
        );
    }
public function generate($input, $output, array $options = array(),
        $overwrite = false)
    {
        $this->log(sprintf(
            'Generate from file (%s) to file (%s)',
            $input, $output
        ));

        return $this->getGenerator()->generate(
            $input, $output, $options, $overwrite
        );
    }
public function generate ( $ input , $ output , array $ options = array ( ) , $ overwrite = false ) { $ this -> log ( sprintf ( 'Generate from file (%s) to file (%s)' , $ input , $ output ) ) ; return $ this -> getGenerator ( ) -> generate ( $ input , $ output , $ options , $ overwrite ) ; }
Generates the output media file from the specified input HTML file

@param  string $input   The input HTML filename or URL
@param  string $output  The output media filename
@param  array  $options An array of options for this generation only
@param  bool   $overwrite Overwrite the file if it exists. If not, throw an InvalidArgumentException
Generates the output media file from the specified input HTML file