FRED™  3.0
FRED™: Framework for Rapid and Easy Development
Style.php
Go to the documentation of this file.
1 <?php
2 
4 
5 class Style extends \Rsi\Fred\Minify\Handler{
6 
7  protected $_minifier = null;
8 
9  public function source($source,$filename = null){
10  if(!$this->_minifier) $this->_minifier = new \CssMinifier();
11  $this->_minifier->minify($source);
12  return $this->_minifier->getMinified();
13  }
14 
15 }
source($source, $filename=null)
Definition: Style.php:9