src/View/Helper/CSS/AbstractHelper.php
public function getCompiler()
    {
        if (!$this->compiler instanceof AbstractCompiler) {
            if (null === $this->compiler) {
                throw new \Exception('Compiler not set');
            }
            $compiler = $this->getView()->getHelperPluginManager()->getServiceLocator()->get($this->compiler);
            if (!$compiler instanceof AbstractCompiler) {
                throw new \Exception(sprintf(
                    'Invalid compiler type: %s not instance of Spork\CSS\AbstractCompiler',
                    is_object($compiler) ? get_class($compiler) : gettype($compiler)));
            }
            $this->compiler = $compiler;
        }
        
        return $this->compiler;
    }
public function getCompiler()
    {
        if (!$this->compiler instanceof AbstractCompiler) {
            if (null === $this->compiler) {
                throw new \Exception('Compiler not set');
            }
            $compiler = $this->getView()->getHelperPluginManager()->getServiceLocator()->get($this->compiler);
            if (!$compiler instanceof AbstractCompiler) {
                throw new \Exception(sprintf(
                    'Invalid compiler type: %s not instance of Spork\CSS\AbstractCompiler',
                    is_object($compiler) ? get_class($compiler) : gettype($compiler)));
            }
            $this->compiler = $compiler;
        }
        
        return $this->compiler;
    }
public function getCompiler ( ) { if ( ! $ this -> compiler instanceof AbstractCompiler ) { if ( null === $ this -> compiler ) { throw new \ Exception ( 'Compiler not set' ) ; } $ compiler = $ this -> getView ( ) -> getHelperPluginManager ( ) -> getServiceLocator ( ) -> get ( $ this -> compiler ) ; if ( ! $ compiler instanceof AbstractCompiler ) { throw new \ Exception ( sprintf ( 'Invalid compiler type: %s not instance of Spork\CSS\AbstractCompiler' , is_object ( $ compiler ) ? get_class ( $ compiler ) : gettype ( $ compiler ) ) ) ; } $ this -> compiler = $ compiler ; } return $ this -> compiler ; }
Get compiler instance

@throws \Exception On compiler not set or invalid compiler type found
@return \Spork\CSS\AbstractCompiler
Get compiler instance