| 1234567891011121314151617181920212223242526 | 
							- <?php
 
- namespace Spider\Lib;
 
- use Dever;
 
- class Queue
 
- {
 
- 	public function __construct($method = false)
 
- 	{
 
- 		if ($method) {
 
- 			Dever::config('base')->queue = array('method' => $method);
 
- 		}
 
- 		Dever::import('queue');
 
- 	}
 
- 	public function push($project)
 
- 	{
 
- 		Dever::push($project);
 
- 	}
 
- 	public function pop()
 
- 	{
 
- 		return Dever::pop();
 
- 	}
 
- }
 
 
  |