Example #1
0
 /**
  * @param string $version
  * @param string $entityName
  * @param        $exception
  * @param        $message
  * @param        $extends
  */
 public function __construct($version, $entityName, $exception, $message, $extends)
 {
     $this->entityName = $entityName;
     $this->exception = $exception;
     $this->message = $message;
     $this->extends = $extends;
     parent::__construct($version, $entityName);
 }
Example #2
0
 /**
  * @param string $version
  * @param string $entityName
  * @param Config $model
  * @param string $requestMethod
  * @param string $actionName
  * @param Config $action
  */
 public function __construct($version, $entityName, $model, $requestMethod, $actionName, $action)
 {
     $this->name = ucfirst($actionName) . 'Request';
     $this->model = $model;
     $this->requestMethod = $requestMethod;
     $this->actionName = $actionName;
     $this->action = $action;
     parent::__construct($version, $entityName);
 }
Example #3
0
 /**
  * @param string $version
  * @param string $entityName
  * @param        $entityDefinition
  */
 public function __construct($version, $entityName, $entityDefinition)
 {
     $this->name = $entityName;
     $this->columns = $entityDefinition;
     parent::__construct($version, $entityName);
 }
Example #4
0
 /**
  * @param string $version
  * @param string $entityName
  * @param Config $entityDefinition
  */
 public function __construct($version, $entityName, $entityDefinition)
 {
     $this->entityDefinition = $entityDefinition;
     parent::__construct($version, $entityName);
 }
Example #5
0
 /**
  * SDKGenerator constructor.
  *
  * @param string             $version
  * @param string             $name
  * @param RequestGenerator[] $requests
  */
 public function __construct($version, $name, array $requests)
 {
     $this->name = $name . 'SDK' . $version;
     $this->requests = $requests;
     parent::__construct($version, 'SDK');
 }