for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wandu\View;
use Wandu\Config\Contracts\Config;
use Wandu\DI\ContainerInterface;
use Wandu\DI\ServiceProviderInterface;
use Wandu\View\Contracts\RenderInterface;
/**
* @deprecated use PhiewServiceProvider
*/
class PhpViewServiceProvider implements ServiceProviderInterface
{
* {@inheritdoc}
public function register(ContainerInterface $app)
$app->closure(RenderInterface::class, function (Config $config) {
return new PhpView($config->get('view.path'));
});
}
public function boot(ContainerInterface $app)