1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures\ExclusionStrategy;
6
7use JMS\Serializer\Context;
8use JMS\Serializer\Exclusion\ExclusionStrategyInterface;
9use JMS\Serializer\Metadata\ClassMetadata;
10use JMS\Serializer\Metadata\PropertyMetadata;
11
12class AlwaysExcludeExclusionStrategy implements ExclusionStrategyInterface
13{
14    public function shouldSkipClass(ClassMetadata $metadata, Context $context): bool
15    {
16        return true;
17    }
18
19    public function shouldSkipProperty(PropertyMetadata $property, Context $context): bool
20    {
21        return false;
22    }
23}
24