File "Sequentially.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/symfony/validator/Constraints/Sequentially.php
File size: 754 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Symfony\Component\Validator\Constraints;
if (!defined('ABSPATH')) exit;
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class Sequentially extends Composite
{
public $constraints = [];
public function __construct($constraints = null, array $groups = null, $payload = null)
{
parent::__construct($constraints ?? [], $groups, $payload);
}
public function getDefaultOption()
{
return 'constraints';
}
public function getRequiredOptions()
{
return ['constraints'];
}
protected function getCompositeOption()
{
return 'constraints';
}
public function getTargets()
{
return [self::CLASS_CONSTRAINT, self::PROPERTY_CONSTRAINT];
}
}