laraning/flame

Accept a class reference in the Twinkle arguments

Closed this issue · 1 comments

Should be possible to use:

@twinkle(Car::class, [ 'model' => 'Mercedes' ]);

Doesn't make sense since the twinkle is always connected to the respective Twinkle View inside the Twinkles/ directory.