Files
prestashop/vendor/symfony/ux-twig-component/src/Attribute/PostMount.php
2026-04-09 18:31:51 +02:00

32 lines
792 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\UX\TwigComponent\Attribute;
/**
* An attribute to register a PostMount hook.
*
* @see https://symfony.com/bundles/ux-twig-component#postmount-hook
*
* @author Kevin Bond <kevinbond@gmail.com>
*/
#[\Attribute(\Attribute::TARGET_METHOD)]
final class PostMount
{
/**
* @param int $priority If multiple hooks are registered in a component, use to configure
* the order in which they are called (higher called earlier)
*/
public function __construct(public int $priority = 0)
{
}
}