/** * @param string $format */ public function __construct($format = null) { parent::__construct("string"); $this->setFormat($format); }
/** * @param \WoohooLabs\SpecGenerator\Swagger2\Items\ItemsInterface $items */ public function __construct(ItemsInterface $items = null) { parent::__construct("array"); $this->setItems($items); }
/** * @param string $format */ public function __construct($format = "int32") { parent::__construct("integer"); $this->setFormat($format); }