php-resque/demo/bad_job.php
2010-04-18 23:58:43 +10:00

9 lines
113 B
PHP

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