src/Entity/XiboCommand.php
public function edit($name, $description, $code)
	{
		$this->command = $name;
		$this->description = $description;
		$this->code = $code;
		$this->getLogger()->info('Editing display command ID ' . $this->commandId);
		$response = $this->doPut('/command/' . $this->commandId, $this->toArray());
	
		return $this->hydrate($response);
	}
public function edit($name, $description, $code)
	{
		$this->command = $name;
		$this->description = $description;
		$this->code = $code;
		$this->getLogger()->info('Editing display command ID ' . $this->commandId);
		$response = $this->doPut('/command/' . $this->commandId, $this->toArray());
	
		return $this->hydrate($response);
	}
public function edit ( $ name , $ description , $ code ) { $ this -> command = $ name ; $ this -> description = $ description ; $ this -> code = $ code ; $ this -> getLogger ( ) -> info ( 'Editing display command ID ' . $ this -> commandId ) ; $ response = $ this -> doPut ( '/command/' . $ this -> commandId , $ this -> toArray ( ) ) ; return $ this -> hydrate ( $ response ) ; }
Edit the Command.

@param string $name Name of the command
@param string $description Command description
@param string $code Unique code for this command
@return XiboCommand
Edit the Command .