for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yoanm\JsonRpcServerDoc\Domain\Model\Type;
/**
* Class StringDoc
*/
class StringDoc extends ScalarDoc
{
/*** Validation ***/
/** @var string|null */
private $format = null;
/** @var int|null */
private $minLength = null;
private $maxLength = null;
* @param string $format
*
* @return StringDoc
public function setFormat(string $format) : StringDoc
$this->format = $format;
return $this;
}
* @param int $minLength
public function setMinLength(int $minLength) : StringDoc
$this->minLength = $minLength;
* @param int $maxLength
public function setMaxLength(int $maxLength) : StringDoc
$this->maxLength = $maxLength;
* @return string|null
public function getFormat()
return $this->format;
* @return int|null
public function getMinLength()
return $this->minLength;
public function getMaxLength()
return $this->maxLength;