tastphp/framework

View on GitHub
src/Framework/Container/PimpleContainerProvider.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace TastPHP\Framework\Container;

use TastPHP\Framework\Service\ServiceProvider;

/**
 * Class PimpleContainerProvider
 * @package TastPHP\Framework\Container
 */
class PimpleContainerProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->singleton('container', function () {
            return new PimpleContainer($this->app);
        });
    }
}