public static function all()
	{
		$workers = Resque::redis()->smembers('workers');
		if(!is_array($workers)) {
			$workers = array();
		}

		$instances = array();
		foreach($workers as $workerId) {
			$instances[] = self::find($workerId);
		}
		return $instances;
	}
public static function all()
	{
		$workers = Resque::redis()->smembers('workers');
		if(!is_array($workers)) {
			$workers = array();
		}

		$instances = array();
		foreach($workers as $workerId) {
			$instances[] = self::find($workerId);
		}
		return $instances;
	}
public static function all ( ) { $ workers = Resque :: redis ( ) -> smembers ( 'workers' ) ; if ( ! is_array ( $ workers ) ) { $ workers = array ( ) ; } $ instances = array ( ) ; foreach ( $ workers as $ workerId ) { $ instances [ ] = self :: find ( $ workerId ) ; } return $ instances ; }
Return all workers known to Resque as instantiated instances.
@return array
Return all workers known to Resque as instantiated instances .