/** * Get the minified value. * * @param string $value * * @return string */ public function render($value) { $options = ['cssMinifier' => function ($css) { return $this->css->render($css); }, 'jsMinifier' => function ($js) { return $this->js->render($js); }, 'jsCleanComments' => true]; return Minify_HTML::minify($value, $options); }
/** * Get the minified css. * * @param string $value * * @return string */ public function css($value) { return $this->css->render($value); }