* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Attribute; /** * An attribute to tell under which index and priority a service class should be found in tagged iterators/locators. * * @author Nicolas Grekas */ #[\Attribute(\Attribute::TARGET_CLASS)] class AsTaggedItem { public function __construct( public ?string $index = null, public ?int $priority = null, ) { } }