for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mleko\Narrator\Bundle\DependencyInjection\Compiler;
class UnknownEventName extends \RuntimeException
{
/**
* UnknownEventName constructor.
* @param string $serviceId
*/
public function __construct($serviceId)
parent::__construct(sprintf("Unknown event name for listener: `%s`, `narrator.listener` tag don't have an `event` attribute and event name could't be inferred", $serviceId));
}