$compiler
$compiler : \Spork\CSS\AbstractCompiler
Compiler instance or service name to use
Base class for CSS View Helpers
$compiler : \Spork\CSS\AbstractCompiler
Compiler instance or service name to use
__invoke(string $template = null) : \Spork\View\Helper\CSS\AbstractHelper|string
Invoking the class will either compile a template and return the CSS or return itself if not template is specified.
string | $template | Optional template to compile |
getCompiler() : \Spork\CSS\AbstractCompiler
Get compiler instance
On compiler not set or invalid compiler type found
setCompiler(\Spork\CSS\AbstractCompiler|string $compiler) : \Spork\View\Helper\CSS\AbstractHelper
Set compiler instance or name of service
\Spork\CSS\AbstractCompiler|string | $compiler |
setResolver(\Zend\View\Resolver\ResolverInterface $resolver) : \Spork\View\Helper\CSS\AbstractHelper
Set Resolver instance
\Zend\View\Resolver\ResolverInterface | $resolver |