Hey I tried digging in the rabidhole, I was chattibg with a fried of mine about the awesome compents of Laravel and it's blade engine. He asked, where is the $slot defined. I looked into the components class and in the doc. But I can't determine where the $slot is defined. I am sure, I have just missed the point, can you help me out here?
Kind regards
Thabks for thw replies, I am just wondering, why the $slot ist available for the blade engine. In the ManagesComponents is 'only' a function, which is called slot() but no public var.
Maybe it is a basic question, but, if the $slot = ManagesComponents::slot() how is this been made?
I just want to understand the mechanics behind it xD
Yeah I know that @newbie360 I just want to understand, how $slot and the name slots are made accessible in the component. When you look into the components class, then you find there the $attributes var defined, but I miss the definition of slot and transistion of hte named x-slot into a available var.