PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
View
/
Compilers
/
Concerns
<?php namespace Illuminate\View\Compilers\Concerns; trait CompilesInjections { /** * Compile the inject statements into valid PHP. * * @param string $expression * @return string */ protected function compileInject($expression) { $segments = explode(',', preg_replace("/[\(\)]/", '', $expression)); $variable = trim($segments[0], " '\""); $service = trim($segments[1]); return "<?php \${$variable} = app({$service}); ?>"; } }
[-] CompilesJs.php
[edit]
[+]
..
[-] CompilesComments.php
[edit]
[-] CompilesJson.php
[edit]
[-] CompilesLoops.php
[edit]
[-] CompilesTranslations.php
[edit]
[-] CompilesErrors.php
[edit]
[-] CompilesRawPhp.php
[edit]
[-] CompilesFragments.php
[edit]
[-] CompilesStacks.php
[edit]
[-] CompilesInjections.php
[edit]
[-] CompilesComponents.php
[edit]
[-] CompilesHelpers.php
[edit]
[-] CompilesEchos.php
[edit]
[-] CompilesClasses.php
[edit]
[-] CompilesConditionals.php
[edit]
[-] CompilesLayouts.php
[edit]
[-] CompilesIncludes.php
[edit]
[-] CompilesAuthorizations.php
[edit]