Source for file MissingParameter.php
Documentation is available at MissingParameter.php
* "THE BEER-WARE LICENSE" (Revision 42):
* "Sven Strittmatter" <ausserirdisch@sven-space.de> wrote this file.
* As long as you retain this notice you can do whatever you want with
* this stuff. If we meet some day, and you think this stuff is worth it,
* you can buy me a beer in return.
* @package Console_Application
* @copyright Copyright (c) 2009 Sven Strittmatter
require_once('Console/Exception.php');
* Class for running a Console_Application_Abstract-Script.
* @package Console_Exception
* @uses Console_Exception
* @copyright Copyright (c) 2009 Sven Strittmatter
public function __construct($parameterName, $code = 0) {
parent::__construct($parameterName, $code);
return $this->getMessage();
return 'You omitted the required parameter ' . $this->getName() . '.';
|