for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ray\SymfonySessionModule;
use Ray\Di\AbstractModule;
use Ray\SymfonySessionModule\Annotation\Sessional;
class SessionalModule extends AbstractModule
{
/**
* {@inheritdoc}
*/
protected function configure()
// Class annotated with @Sessional
$this->bindInterceptor(
$this->matcher->annotatedWith(Sessional::class),
$this->matcher->any(),
[SessionalInterceptor::class]
);
// Method annotated with @Sessional
}