for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Korobovn\CloudPayments\Message\Strategy\Specification;
class Cryptogram3dSecureAuthRequiredSpecification implements SpecificationInterface
{
/**
* {@inheritdoc}
*/
public function isSatisfiedBy(array $response): bool
return ! empty($response['Model']['AcsUrl']) &&
(new NotSuccessSpecification)->isSatisfiedBy($response) &&
(new NotMessageSpecification)->isSatisfiedBy($response);
}