Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksagona committed Aug 21, 2020
1 parent f12bb12 commit 9c94823
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ $scheduler->addJob($appJob)

```

When pulling up the queue to run the application command, the application object then
needs to be registered with the queue object in order for it to find the command to execute:

```php
use Pop\Queue;

$adapter = new Queue\Adapter\File('queues');
$queue = Queue\Queue::load('pop-queue', $adapter, $application);

```

### Executing a System Command

##### WARNING: Take caution in running and executing system commands from a PHP application
Expand Down

0 comments on commit 9c94823

Please sign in to comment.