php-resque/demo/bad_job.php
2013-03-13 12:41:32 +01:00

8 lines
110 B
PHP

<?php
class Bad_PHP_Job
{
public function perform()
{
throw new Exception('Unable to run this job!');
}
}