P
P
photosho2017-04-08 12:44:26
Laravel
photosho, 2017-04-08 12:44:26

How to make Blade directives work?

I am creating Blade directives ("AppServiceProvider" file), but I noticed that they do not work in all the cases I need. For example, this is how everything works:
...{@directive()
But it doesn't work like this anymore:
[email protected]()
That is, everything will work only if there is some special character before the "@" sign. Is there any way to make Blade work with any character before that character? I can't put a space, I need the content output by the directive to be close to the text.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question