public function getSynopsis(bool $short = false): string
	{
		$key = $short ? 'short' : 'long';

		if (!isset($this->synopsis[$key]))
		{
			$this->synopsis[$key] = trim(sprintf('%s %s', $this->getName(), $this->getDefinition()->getSynopsis($short)));
		}

		return $this->synopsis[$key];
	}
public function getSynopsis(bool $short = false): string
	{
		$key = $short ? 'short' : 'long';

		if (!isset($this->synopsis[$key]))
		{
			$this->synopsis[$key] = trim(sprintf('%s %s', $this->getName(), $this->getDefinition()->getSynopsis($short)));
		}

		return $this->synopsis[$key];
	}
public function getSynopsis ( bool $ short = false ) : string { $ key = $ short ? 'short' : 'long' ; if ( ! isset ( $ this -> synopsis [ $ key ] ) ) { $ this -> synopsis [ $ key ] = trim ( sprintf ( '%s %s' , $ this -> getName ( ) , $ this -> getDefinition ( ) -> getSynopsis ( $ short ) ) ) ; } return $ this -> synopsis [ $ key ] ; }
Get the command's synopsis.

@param   boolean  $short  Flag indicating whether the short or long version of the synopsis should be returned

@return  string

@since   __DEPLOY_VERSION__
Get the command s synopsis .