PHP code example of se7enxweb / expqueue

1. Go to this page and download the library: Download se7enxweb/expqueue library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

se7enxweb / expqueue example snippets


$job = expQueue::enqueue( 'mysite.thumbnail', array( 'node_id' => 42 ), array(
    'class' => 'editorial', 'idempotency_key' => 'thumbnail:42:3', 'resource' => 'imaging' ) );
echo $job->attribute( 'uuid' );