for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spiechu\LazyPimple\DependencyInjection;
class ExtendServiceDefinition
{
/**
* @var string
*/
protected $serviceNameToInject;
protected $interfaceNameToHandle;
protected $methodNameToCall;
* @param string $serviceNameToInject
* @param string $interfaceNameToHandle
* @param string $methodNameToCall
public function __construct(string $serviceNameToInject, string $interfaceNameToHandle, string $methodNameToCall)
$this->serviceNameToInject = $serviceNameToInject;
$this->interfaceNameToHandle = $interfaceNameToHandle;
$this->methodNameToCall = $methodNameToCall;
}
* @return string
public function getServiceNameToInject(): string
return $this->serviceNameToInject;
public function getInterfaceNameToHandle(): string
return $this->interfaceNameToHandle;
public function getMethodNameToCall(): string
return $this->methodNameToCall;