app/Factories/ViewFactory.php
Method createAppInstance
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function createAppInstance(Container $container)
{
$config = $container->get('config');
$loader = new FilesystemLoader(BASE_DIR.'resources/templates');