for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WPEmerge\Templating;
use WPEmerge;
use WPEmerge\ServiceProviders\ServiceProviderInterface;
/**
* Provide templating dependencies
*
* @codeCoverageIgnore
*/
class TemplatingServiceProvider implements ServiceProviderInterface {
* {@inheritDoc}
public function register( $container ) {
$container[ WP_EMERGE_TEMPLATING_ENGINE_PHP_KEY ] = function() {
return new \WPEmerge\Templating\Php();
};
$container[ WP_EMERGE_TEMPLATING_ENGINE_KEY ] = $container->raw( WP_EMERGE_TEMPLATING_ENGINE_PHP_KEY );
}
public function boot( $container ) {
// nothing to boot