| 1 | <?php |
||
| 13 | class PayloadIsInstanceOf implements SpecificationInterface, LoggerAwareInterface |
||
| 14 | { |
||
| 15 | use LoggerAwareTrait; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $typeName; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $typeName |
||
| 24 | */ |
||
| 25 | public function __construct($typeName) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritdoc |
||
| 36 | */ |
||
| 37 | public function isSatisfiedBy(DomainMessage $domainMessage) |
||
| 54 | } |
||
| 55 |