/** * @param Dictionary $dictionary */ public function save(Dictionary $dictionary) { $this->dictionaries[$dictionary->getName()] = $dictionary; }