* @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ namespace PrestaShop\Module\StFacetedSearch\Constraint; use Symfony\Component\Validator\Constraint; class UrlSegment extends Constraint { public $message = '%s is invalid.'; /** * {@inheritdoc} */ public function validatedBy() { return UrlSegmentValidator::class; } }