for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author stev leibelt <[email protected]>
* @since 2015-07-11
*/
namespace NetBazzlineZfCliGenerator\Service;
use Net\Bazzline\Component\ProcessPipe\Pipe;
use NetBazzlineZfCliGenerator\Service\ProcessPipe\Transformer\DumpCliContent;
use Symfony\Component\Filesystem\Filesystem;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class GenerateCliContentFactory implements FactoryInterface
{
* Create service
*
* @param ServiceLocatorInterface $serviceLocator
* @return mixed
public function createService(ServiceLocatorInterface $serviceLocator)
$dump = new DumpCliContent();
$dump->setFilesystem(new Filesystem());
$dump->setTimestamp(time());
$pipe = new Pipe(
$dump
);
return $pipe;
}