private function denormaliseComments(\ArrayAccess $array)
 {
     $comments = $array['comments'];
     if (!isset($comments)) {
         return null;
     }
     $comments = new SafeArrayAccess($comments);
     $comments = $comments['comment'];
     if (!isset($comments)) {
         return null;
     }
     $commentCollection = new CommentCollection();
     foreach ($comments as $comment) {
         $commentObject = new Comment();
         $commentObject->addId($comment["@id"])->addComment($comment["#"]);
         $commentCollection->add($commentObject);
     }
     return $commentCollection;
 }