* * 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 */ #[\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) { } }