version() public method

Set the version of the API for the next request.
public version ( string $version ) : Dispatcher
$version string
return Dispatcher
コード例 #1
0
 /**
  * Set the version of the API for the next request.
  *
  * @param string $version
  * @return \Dingo\Api\Dispatcher 
  * @static 
  */
 public static function version($version)
 {
     return \Dingo\Api\Dispatcher::version($version);
 }