for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Cocotte\Environment;
use Symfony\Component\EventDispatcher\Event;
final class EnvironmentLoadedEvent extends Event
{
/**
* @var LazyEnvironment
*/
private $environment;
public function __construct(LazyEnvironment $environment)
$this->environment = $environment;
}
* @return LazyEnvironment
public function environment(): LazyEnvironment
return $this->environment;