for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Facile\MongoDbBundle\Event;
use Symfony\Component\EventDispatcher\GenericEvent;
/**
* Class ConnectionEvent.
*
* @internal
*/
final class ConnectionEvent extends GenericEvent
{
const CLIENT_CREATED = 'facile_mongo_db.event.connection_client.created';
* ConnectionEvent constructor.
* @param string $clientName
* @param array $arguments
public function __construct(string $clientName, array $arguments = [])
parent::__construct($clientName, $arguments);
}
* @return string
public function getClientName(): string
return $this->getSubject();
return $this->getSubject()
null
string