public function setVersion($version)
{
if (null !== $version) {
Assert::string($version, 'The application version must be a string. Got: %s');
Assert::notEmpty($version, 'The application version must not be empty.');
}
$this->version = $version;
return $this;
}