Skip to content

Commit

Permalink
Merge pull request #3 from yceruto/compound_update
Browse files Browse the repository at this point in the history
Update Compound decorator attribute namespace
  • Loading branch information
yceruto authored Dec 15, 2024
2 parents 317e1d9 + 169207e commit 5826306
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Yceruto\Decorator\CallableDecorator;
use Yceruto\Decorator\CompoundDecorator;
use Yceruto\Decorator\Decorator\CompoundDecorator;
use Yceruto\Decorator\DecoratorInterface;
use Yceruto\Decorator\Resolver\DecoratorResolverInterface;
use Yceruto\DecoratorBundle\Controller\Listener\DecorateControllerListener;
Expand Down
6 changes: 3 additions & 3 deletions tests/Integration/Fixtures/Decorator/HttpSecuredApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

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

use Yceruto\Decorator\Attribute\Compound;
use Yceruto\Decorator\Attribute\CompoundDecoratorAttribute;
use Yceruto\DecoratorBundle\Decorator\Serializer\Serialize;

#[\Attribute(\Attribute::TARGET_METHOD)]
class HttpSecuredApi extends Compound
class HttpSecuredApi extends CompoundDecoratorAttribute
{
public function getDecorators(array $options): array
public function getAttributes(array $options): array
{
return [
new HttpSecured(),
Expand Down

0 comments on commit 5826306

Please sign in to comment.