Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

RespondWithViewJob.php #12

Merged
merged 1 commit into from Dec 18, 2016
Merged

RespondWithViewJob.php #12

merged 1 commit into from Dec 18, 2016

Conversation

speccode
Copy link
Contributor

@speccode speccode commented Dec 16, 2016

Another respond Job in Http domain to respond with familiar view().

Usage:

return $this->run(RespondWithViewJob::class, [
    'template'  => 'foo.bar' // resources/view/foo/bar.blade.php
    'data'      => [
        'foo'       => 'bar' // Template var $foo
    ]
]);

@Mulkave Mulkave merged commit 8144c21 into lucidarch:master Dec 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants