<?php Background::forge(function($object) { // ã¨ã¦ãéããæéããããå¦ç $object->very_heavy_process(); }, array($object))->run(); // ããã㯠Background::forge(array($object, 'very_heavy_process'))->run(); <?php Background::forge(array($object, 'very_heavy_process')) ->on('before', function() { \Log::info('very heavy process will start !'); }) ->on('after', function() { \Log::info('very heavy process ended !');
{{#tags}}- {{label}}
{{/tags}}