setVersion() public method

Sets the version of the application.
public setVersion ( string $version ) : static
$version string The application version.
return static The current instance.
コード例 #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testSetVersionFailsIfNoString()
 {
     $this->config->setVersion(1234);
 }