/**
  * Returns a struct with the Name, TitleId, Version, Build and ApiVersion of the application remotely controlled.
  * @param bool $multicall
  * @return Structures\Version
  */
 function getVersion($multicall = false)
 {
     if ($multicall) {
         return $this->execute(ucfirst(__FUNCTION__), array(), $this->structHandler('Version'));
     }
     return Structures\Version::fromArray($this->execute(ucfirst(__FUNCTION__)));
 }
Exemplo n.º 2
0
 /**
  * Returns a struct with the Name, Version, Build and ApiVersion of the application remotely controled.
  * @return Structures\Version
  * @throws InvalidArgumentException
  */
 function getVersion()
 {
     $result = $this->execute(ucfirst(__FUNCTION__));
     return Structures\Version::fromArray($result);
 }