/** * @param UUID $id * @return Recipe */ public function getRecipe(UUID $id) { $index = $id->toBinary(); return isset($this->recipes[$index]) ? $this->recipes[$index] : null; }
public function putUUID(UUID $uuid) { $this->put($uuid->toBinary()); }
public function putUUID(UUID $uuid) { $this->buffer .= $uuid->toBinary(); }