?
Path : /opt/alt/php54/usr/share/pear/ezc/ConsoleTools/exceptions/ |
Current File : //opt/alt/php54/usr/share/pear/ezc/ConsoleTools/exceptions/option_already_registered.php |
<?php /** * File containing the ezcConsoleOptionAlreadyRegisteredException. * * @package ConsoleTools * @version 1.6.1 * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ /** * The option name you tried to register is already in use. * * @package ConsoleTools * @version 1.6.1 */ class ezcConsoleOptionAlreadyRegisteredException extends ezcConsoleException { /** * Creates a new exception object. * * @param string $name Name of the affected option. * @return void */ public function __construct( $name ) { parent::__construct( "An option with the name '{$name}' is already registered." ); } } ?>