public function extract() { if (count($this->queue)) { return array_shift($this->queue); } return false; }