ServerServiceProvider.php
385 Bytes
<?php
namespace Hanson\Vbot\Foundation\ServiceProviders;
use Hanson\Vbot\Core\Server;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
class ServerServiceProvider implements ServiceProviderInterface
{
public function register(Container $pimple)
{
$pimple['server'] = function ($pimple) {
return server($pimple['config']);
};
}
}