* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ namespace PrestaShop\Module\FacetedSearch\Constraint; use Symfony\Component\Validator\Constraint; class UrlSegment extends Constraint { public $message = '%s is invalid.'; /** * {@inheritdoc} */ public function validatedBy() { return UrlSegmentValidator::class; } }