$instance $instance : \duncan3dc\Laravel\BladeInstance Type \duncan3dc\Laravel\BladeInstance — The internal cache of the BladeInstance to only instantiate it once
setInstance() setInstance(\duncan3dc\Laravel\BladeInstance $instance) : void Set the BladeInstance object to use. Parameters \duncan3dc\Laravel\BladeInstance $instance The instance to use
getInstance() getInstance() : \duncan3dc\Laravel\BladeInterface Get the BladeInstance object. Returns \duncan3dc\Laravel\BladeInterface
__callStatic() __callStatic(string $name, array $arguments) : mixed Allow all the methods of BladeInstance to be called. Parameters string $name The name of the method to run array $arguments The parameters to pass to the method Returns mixed
registerDirectives() registerDirectives(\Illuminate\View\Compilers\CompilerInterface $blade) : void Add extra directives to the blade templating compiler. Parameters \Illuminate\View\Compilers\CompilerInterface $blade The compiler to extend