18 lines
312 B
PHP
18 lines
312 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Validator\Constraints;
|
|
|
|
use Attribute;
|
|
use Symfony\Component\Validator\Constraint;
|
|
|
|
#[Attribute(Attribute::TARGET_CLASS)]
|
|
final class StorageLocation extends Constraint
|
|
{
|
|
public function getTargets(): string
|
|
{
|
|
return self::CLASS_CONSTRAINT;
|
|
}
|
|
}
|