Skip to content

Commit 169207e

Browse files
committed
Update Compound decorator attribute namespace
1 parent 317e1d9 commit 169207e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/services.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
44
use Yceruto\Decorator\CallableDecorator;
5-
use Yceruto\Decorator\CompoundDecorator;
5+
use Yceruto\Decorator\Decorator\CompoundDecorator;
66
use Yceruto\Decorator\DecoratorInterface;
77
use Yceruto\Decorator\Resolver\DecoratorResolverInterface;
88
use Yceruto\DecoratorBundle\Controller\Listener\DecorateControllerListener;

tests/Integration/Fixtures/Decorator/HttpSecuredApi.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313

1414
namespace Yceruto\DecoratorBundle\Tests\Integration\Fixtures\Decorator;
1515

16-
use Yceruto\Decorator\Attribute\Compound;
16+
use Yceruto\Decorator\Attribute\CompoundDecoratorAttribute;
1717
use Yceruto\DecoratorBundle\Decorator\Serializer\Serialize;
1818

1919
#[\Attribute(\Attribute::TARGET_METHOD)]
20-
class HttpSecuredApi extends Compound
20+
class HttpSecuredApi extends CompoundDecoratorAttribute
2121
{
22-
public function getDecorators(array $options): array
22+
public function getAttributes(array $options): array
2323
{
2424
return [
2525
new HttpSecured(),

0 commit comments

Comments
 (0)