private function printConsoleHelp(ClassType $class): void
	{
		$this->printLine($class->getDescription());
		$this->printLine();

		foreach ($this->getMethod($class) as $method) {
			$line = $class->getShortName() . ':' . $method->name;

			foreach ($method->getParameters() as $param) {
				$line .= ' /' . $param->getName();
				if ($param->isDefaultValueAvailable()) {
					$line .= '=' . $this->getValue($param->getDefaultValue());
				}
			}
			$description = $method->getDescription();
			if (!empty($description)) {
				$line .= "\t\t(" . Strings::replace($description, '/\ +/', ' ') . ')';
			}
			$this->printLine($line);
		}
		$this->printLine();
	}
private function printConsoleHelp(ClassType $class): void
	{
		$this->printLine($class->getDescription());
		$this->printLine();

		foreach ($this->getMethod($class) as $method) {
			$line = $class->getShortName() . ':' . $method->name;

			foreach ($method->getParameters() as $param) {
				$line .= ' /' . $param->getName();
				if ($param->isDefaultValueAvailable()) {
					$line .= '=' . $this->getValue($param->getDefaultValue());
				}
			}
			$description = $method->getDescription();
			if (!empty($description)) {
				$line .= "\t\t(" . Strings::replace($description, '/\ +/', ' ') . ')';
			}
			$this->printLine($line);
		}
		$this->printLine();
	}
private function printConsoleHelp ( ClassType $ class ) : void { $ this -> printLine ( $ class -> getDescription ( ) ) ; $ this -> printLine ( ) ; foreach ( $ this -> getMethod ( $ class ) as $ method ) { $ line = $ class -> getShortName ( ) . ':' . $ method -> name ; foreach ( $ method -> getParameters ( ) as $ param ) { $ line .= ' /' . $ param -> getName ( ) ; if ( $ param -> isDefaultValueAvailable ( ) ) { $ line .= '=' . $ this -> getValue ( $ param -> getDefaultValue ( ) ) ; } } $ description = $ method -> getDescription ( ) ; if ( ! empty ( $ description ) ) { $ line .= "\t\t(" . Strings :: replace ( $ description , '/\ +/' , ' ' ) . ')' ; } $ this -> printLine ( $ line ) ; } $ this -> printLine ( ) ; }
Vypise napovedu pro danou tridu v konzoli
@param ClassType $class
Vypise napovedu pro danou tridu v konzoli