Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
Zend_Console_Getopt_Exception Class Reference
Inheritance diagram for Zend_Console_Getopt_Exception:
Zend_Exception

Public Member Functions

 __construct ($message, $usage='')
 
 getUsageMessage ()
 
- Public Member Functions inherited from Zend_Exception
 __construct ($msg='', $code=0, Exception $previous=null)
 
 __call ($method, array $args)
 
 __toString ()
 

Protected Attributes

 $usage = ''
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Exception
 _getPrevious ()
 

Detailed Description

Definition at line 35 of file Exception.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $message,
  $usage = '' 
)

Constructor

Parameters
string$message
string$usage
Returns
void

Definition at line 51 of file Exception.php.

52  {
53  $this->usage = $usage;
54  parent::__construct($message);
55  }
$message

Member Function Documentation

◆ getUsageMessage()

getUsageMessage ( )

Returns the usage

Returns
string

Definition at line 62 of file Exception.php.

63  {
64  return $this->usage;
65  }

Field Documentation

◆ $usage

$usage = ''
protected

Definition at line 42 of file Exception.php.


The documentation for this class was generated from the following file: