public function __construct(array $endpointDef) {
     parent::__construct(NULL);
     $this->endpointDef = $endpointDef;
 }
 public function __construct(AbstractDocumentGenerator $parent, $resourceName) {
     parent::__construct($parent);
     $this->resourceName = $resourceName;
 }
 public function __construct(AbstractDocumentGenerator $parent, $methodName) {
     parent::__construct($parent);
     $this->methodName = $methodName;
 }