for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author jan huang <[email protected]>
* @copyright 2017
*
* @see https://www.github.com/janhuang
* @see https://fastdlabs.com
*/
namespace FastD\ServiceProvider;
use FastD\Container\Container;
use FastD\Container\ServiceProviderInterface;
* Class ProcessorServiceProvider.
class ProcessorServiceProvider implements ServiceProviderInterface
{
* @param Container $container
* @return mixed
public function register(Container $container)
$path = app()->getPath().'/config/process.php';
if (file_exists($path)) {
config()->set('processes', include $path);
}
return 0;