F9/Providers/BladeViewServiceProvider.php
Avoid too many return
statements within this method. Open
Open
return $view_factory;
Avoid too many return
statements within this method. Open
Open
$app['blade'] = $app->factory(function () { return new Blade($this->app['blade.context']); });
Avoid too many return
statements within this method. Open
Open
$resolver->register('php', function () { return new PhpEngine; });
Avoid too many return
statements within this method. Open
Open
return $resolver;
Avoid too many return
statements within this method. Open
Open
$app['blade.view'] = $app->factory(function () { return new BladeView($this->app['blade.context']); });
Avoid too many return
statements within this method. Open
Open
function () use ($app) { return new CompilerEngine($app['blade.compiler'], $app['files']); });
The variable $view_factory is not named in camelCase. Open
Open
public function register(Container $app)
{
// we only need to do this if Blade views are enabled.
if ($app['config']['view.blade.enabled']) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $view_factory is not named in camelCase. Open
Open
public function register(Container $app)
{
// we only need to do this if Blade views are enabled.
if ($app['config']['view.blade.enabled']) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $view_factory is not named in camelCase. Open
Open
public function register(Container $app)
{
// we only need to do this if Blade views are enabled.
if ($app['config']['view.blade.enabled']) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}