Pipe\Compressor\YuglifyCss::render PHP Метод

render() публичный Метод

public render ( $context = null, $vars = [] )
    function render($context = null, $vars = array())
    {
        return $this->compress($this->getData(), self::TYPE_CSS);
    }

Usage Example

Пример #1
0
 function testCss()
 {
     $c = new YuglifyCss(__DIR__ . '/fixtures/test.css');
     $this->assertNotEmpty($c->render());
 }