12345678910111213141516171819202122 |
- <?php
- /**
- * @package Grav.Common.Service
- *
- * @copyright Copyright (C) 2015 - 2018 Trilby Media, LLC. All rights reserved.
- * @license MIT License; see LICENSE file for details.
- */
- namespace Grav\Common\Service;
- use Grav\Common\Errors\Errors;
- use Pimple\Container;
- use Pimple\ServiceProviderInterface;
- class ErrorServiceProvider implements ServiceProviderInterface
- {
- public function register(Container $container)
- {
- $errors = new Errors;
- $container['errors'] = $errors;
- }
- }
|