public function save( IdStack $idPath, $value ) { $definedMeaningId = (int) $value->definedMeaningId; $idPath->pushDefinedMeaningId( $definedMeaningId ); $idPath->pushClassAttributes( new ClassAttributes( $definedMeaningId ) ); $this->wrappedEditor->save( $idPath, $value ); $idPath->popClassAttributes(); $idPath->popDefinedMeaningId(); }