src/Support/BladeCompilerExtender.php
/**
     * Register with the compiler
     *
     * @return null
     */
Register with the compiler
@return null
Register with the compiler @return null
public function register(BladeCompiler $compiler)
    {
        foreach ($this->directives as $directive) {
            $compiler->directive($directive, [$this, $directive . 'Directive']);
        }
        foreach ($this->extensions as $extension) {
            $compiler->extend([$this, $extension . 'Extension']);
        }
    }
public function register ( BladeCompiler $ compiler ) { foreach ( $ this -> directives as $ directive ) { $ compiler -> directive ( $ directive , [ $ this , $ directive . 'Directive' ] ) ; } foreach ( $ this -> extensions as $ extension ) { $ compiler -> extend ( [ $ this , $ extension . 'Extension' ] ) ; } }
Register with the compiler
 @return null
Register with the compiler @return null