Example #1
0
 /**
  * @return Assets_Styles
  */
 public static function style()
 {
     if (null === self::$style) {
         self::$style = new Assets_Styles();
         self::$style->setOutput(Nano::config('assets')->path);
     }
     return self::$style;
 }
Example #2
0
 public function setUp()
 {
     $this->styles = new Assets_Styles();
     $this->styles->setOutput($this->files->get($this, DS . 'output'));
     $this->files->clean($this, DS . 'output');
     touch($this->files->get($this, '/input/file1'));
     touch($this->files->get($this, '/input/file2'));
     touch($this->files->get($this, '/input/file3'));
     touch($this->files->get($this, '/input/file4'));
 }