IconTokenParser example


    /** * @internal */
    public function __construct(private readonly TemplateFinder $finder)
    {
    }

    public function getTokenParsers(): array
    {
        return [
            new IconTokenParser(),
        ];
    }

    /** * @deprecated tag:v6.6.0 - Will be removed, use constructor injection instead */
    public function getFinder(): TemplateFinder
    {
        Feature::triggerDeprecationOrThrow(
            'v6.6.0.0',
            Feature::deprecatedMethodMessage(self::class, __METHOD__, 'v6.6.0.0')
        );
Home | Imprint | This part of the site doesn't use cookies.