app

The app function returns the service container instance:
<?php $container = app();
<?php {

    public function render()

    {

        app('session')->put('count', app('session')->get('count') + 1);



        return View::file(__DIR__.'/view.blade.php');

    }
<?php                 foreach ($components as $name => $class) {

                    if (is_numeric($name)) {

                        app('livewire')->component($class);

                    } else {

                        app('livewire')->component($name, $class);

                    }
<?php                     if (is_numeric($name)) {

                        app('livewire')->component($class);

                    } else {

                        app('livewire')->component($name, $class);

                    }

                }

            }
<?php         File::deleteDirectory($this->livewireViewsPath());

        File::cleanDirectory(__DIR__.'/downloads');

        File::deleteDirectory($this->livewireClassesPath());

        File::delete(app()->bootstrapPath('cache/livewire-components.php'));

    }



    protected function getPackageProviders($app)
<?php         File::deleteDirectory($this->livewireViewsPath());

        File::deleteDirectory($this->livewireClassesPath());

        File::deleteDirectory($this->livewireTestsPath());

        File::delete(app()->bootstrapPath('cache/livewire-components.php'));

    }



    protected function getPackageProviders($app)
<?php     function boot()

    {

        foreach ($GLOBALS['__commands'] as $command) {

            app(\Illuminate\Contracts\Console\Kernel::class)->registerCommand($command);

        }



        invade(app(\Illuminate\Contracts\Console\Kernel::class))->artisan->setName($GLOBALS['__name']);
<?php             app(\Illuminate\Contracts\Console\Kernel::class)->registerCommand($command);

        }



        invade(app(\Illuminate\Contracts\Console\Kernel::class))->artisan->setName($GLOBALS['__name']);

        invade(app(\Illuminate\Contracts\Console\Kernel::class))->artisan->setVersion($GLOBALS['__version']);

    }

}
<?php         }



        invade(app(\Illuminate\Contracts\Console\Kernel::class))->artisan->setName($GLOBALS['__name']);

        invade(app(\Illuminate\Contracts\Console\Kernel::class))->artisan->setVersion($GLOBALS['__version']);

    }

}
<?php     {

        $this->name = 'prop:'.$this->model->value;



        return app('view')->make('show-name-with-this');

    }

}
<?php     {

        $this->name = collect(['prop', $this->parent->value, $this->child->value])->implode(':');



        return app('view')->make('show-name-with-this');

    }

}
<?php     {

        $this->name = "{$this->parent->value}:{$this->child->value}";



        return app('view')->make('show-name-with-this');

    }

}
<?php     {

        $this->name = collect(['prop', $this->parent->value, $this->child->value])->implode(':');



        return app('view')->make('show-name-with-this');

    }

}
<?php     {

        $this->name = 'prop:'.$this->model->value;



        return app('view')->make('show-name-with-this');

    }

}
<?php     {

        $this->name = 'prop:'.$this->user->name;



        return app('view')->make('show-name-with-this');

    }

}
<?php     public function render()

    {

        return app('view')->make('show-name', ['name' => str()->random(5)]);

    }

}