<?php
class JobQueue{
private $jobs=[];
public function push($name,$payload=[]){$this->jobs[]=array('name'=>$name,'payload'=>$payload,'time'=>date('c'));}
public function all(){return $this->jobs;}
}
