for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Symplify\DefaultAutowire\Tests\Source;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
class SomeBuiltAutowiredServiceFactory
{
/**
* @param SomeService $someService
* @param EventDispatcherInterface $eventDispatcher
*
* @return SomeBuiltAutowiredService
*/
public function create(
SomeService $someService,
EventDispatcherInterface $eventDispatcher
) : SomeBuiltAutowiredService {
return new SomeBuiltAutowiredService($someService, $eventDispatcher);
}