| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 31 | public function extendBladeEngine(BladeCompiler $blade)  | 
            ||
| 32 |     { | 
            ||
| 33 |         $directives = $this->app->make('files')->getRequire(__DIR__ . '/directives.php'); | 
            ||
| 34 | |||
| 35 |         foreach ($directives as $name => $directive) { | 
            ||
| 36 |             $blade->extend(function ($value) use ($directive) { | 
            ||
| 37 | return preg_replace($directive['pattern'], $directive['replacement'], $value);  | 
            ||
| 38 | });  | 
            ||
| 39 | }  | 
            ||
| 40 | |||
| 41 | return $blade;  | 
            ||
| 42 | }  | 
            ||
| 43 | }  | 
            ||
| 44 |