/** * Get the length of the queue. * * @return int */ public function length() { return $this->client->length($this->name); }