Class: Console_CommandLine_Renderer
Source Location: /Console_CommandLine-1.0.0RC1/CommandLine/Renderer.php
Renderers common interface, all renderers must implement this interface.
Author(s):
Version:
Copyright:
Inherited Variables
Inherited Methods
Class Details
[line 36]
Renderers common interface, all renderers must implement this interface.
Method Detail
__construct (Constructor) [line 47]
Console_CommandLine_Renderer __construct(
object
$parser)
Constructor.
Parameters:
object
$parser
—
a Console_CommandLine instance
error [line 71]
string error(
string
$error)
Return a formatted error message
- Return: the error string
- Access: public
Parameters:
string
$error
—
the error message to format
usage [line 58]
Return the full usage message.
- Return: the usage message
- Access: public
version [line 82]
Return the program version string.
- Return: the version string
- Access: public
Documentation generated on 2019年3月11日 15:14:50 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.