for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LaravelPlus\Extension\Hooks;
use Illuminate\Contracts\Foundation\Application as ApplicationInterface;
use Illuminate\Foundation\Application as LaravelApplication;
/**
* @author Fumio Furukawa <[email protected]>
*/
class ApplicationHook extends LaravelApplication implements ApplicationInterface
{
* @var \Illuminate\Contracts\Foundation\Application
private $app;
public function __construct(ApplicationInterface $app)
$this->app = $app;
}
* An array of the types that have been resolved.
*
* @return array
public function getResolved()
return $this->app->resolved;
* The container's bindings.
public function getBindings()
return $this->app->bindings;
* The container's shared instances.
public function getInstances()
return $this->app->instances;
* The registered type aliases.
public function getAliases()
return $this->app->aliases;
* All of the registered tags.
public function getTags()
return $this->app->tags;