for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace BEAR\Package\Provide\Representation;
use BEAR\Package\Annotation\ReturnCreatedResource;
use Ray\Di\AbstractModule;
class CreatedResourceModule extends AbstractModule
{
/**
* {@inheritDoc}
*/
protected function configure(): void
$this->bind(CreatedResourceRenderer::class);
$this->bindInterceptor(
$this->matcher->any(),
$this->matcher->annotatedWith(ReturnCreatedResource::class),
[CreatedResourceInterceptor::class],
);
}