Skip to content

[Feature Request]: dynamic view path #1317

@kminek

Description

@kminek

Feature Description

hi,

this works as expected (i am getting IDE autocompletion for $posts variable inside blade template):

view('controllers.post.index', ['posts' => $posts]);

however this doesnt:

$v = 'controllers.post.index';
view($v, ['posts' => $posts]);

is there some kind of custom dockblock to help Laravel Idea to undestand this and provide autocompletion for $posts variable in blade?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions