Sets the version of the application.
public setVersion ( string $version ) : static | ||
$version | string | The application version. |
리턴 | static | The current instance. |
/** * @expectedException \InvalidArgumentException */ public function testSetVersionFailsIfNoString() { $this->config->setVersion(1234); }