Example #1
0
 /**
  * This is a method that allows us to distinguish between a full json spec
  * and a hash defined in a full spec which was divided into a seperate Document (thus, a SubDocument).
  * To be aware what it is mainly serves for the generator to generate them as embedded documents,
  * as subdocuments are always embedded.
  *
  * @return bool true if yes, false if not
  */
 public function isSubDocument()
 {
     return $this->def->getIsSubDocument();
 }