code: public function getUsage($withEncapsulation = true, $withAliases = true)
      {
          $usage = '';
          if ($withEncapsulation) {
              $usage = ($this->required ? '' : '[');
          }
          $aliases = ($withAliases ? $this->getAliasUsage() : '');
  
          $usage .= $this->prefix.$this->parameterName.$aliases.' ';
  
          $usage .= $this->getPropertiesAsString();
  
          return $usage.($withEncapsulation ? ($this->required ? '' : ']') : '');
      }
docs: Gets the usage of the ParameterClosure as string.
  
  @param bool $withEncapsulation
  @param bool $withAliases
  
  @return string