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

Commit cb8f0a7

Browse files
authored
Merge pull request #26 from sharik709/master
added information about how to access view files from jobs in README …
2 parents 2e33126 + 0bc1445 commit cb8f0a7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,18 @@ class UserController extends Controller
180180
}
181181
}
182182
```
183+
#### view
184+
To access service's view file. just prepend service name followed by two colon ::
185+
186+
example
187+
```
188+
@extends('serivename::index')
189+
```
190+
191+
with jobs you can specify path like this
192+
```
193+
new RespondWithViewJob('servicename::student.login')
194+
```
183195

184196
#### Job
185197
A Job is responsible for one element of execution in the application, and play the role of a step in the accomplishment

0 commit comments

Comments
 (0)