for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Philae\Exceptions;
use Throwable;
class InvalidCallableServiceException extends \Exception
{
/**
* @var string
*/
private $serviceName;
public function __construct(string $serviceName, int $code = 0, Throwable $previous = null)
$this->serviceName = $serviceName;
$message = sprintf("The given service `%s` is not a valid callable.", $serviceName);
parent::__construct($message, $code, $previous);
}
* @return string
public function getServiceName()
return $this->serviceName;