public function generateFromHtml($html, $output, array $options = array(),
        $overwrite = false)
    {
        $this->log(sprintf('Generate output in file (%s) from html.', $output));

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

        return $this->getGenerator()->generateFromHtml(
            $html, $output, $options, $overwrite
        );
    }
public function generateFromHtml ( $ html , $ output , array $ options = array ( ) , $ overwrite = false ) { $ this -> log ( sprintf ( 'Generate output in file (%s) from html.' , $ output ) ) ; return $ this -> getGenerator ( ) -> generateFromHtml ( $ html , $ output , $ options , $ overwrite ) ; }
Generates the output media file from the given HTML

@param  string $html    The HTML to be converted
@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 given HTML