for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Symplify\DefaultAutowire\Tests\Source;
class SomeServiceWithOptionalConstructorArguments
{
/**
* @var SomeService
*/
private $someService;
* @var array
private $arg = [];
public function __construct(SomeService $someService = null, array $arg = [])
$this->someService = $someService;
$this->arg = $arg;
}