annotations)) { $this->annotations[$key] = $annotations; } } public function get($key) { if (array_key_exists($key, $this->annotations)) { return $this->annotations[$key]; } return []; } public function clear() { $this->annotations = []; } }