\Horde_Test_Stub_Parser

A test helper for testing Horde_Argv based classes.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
__construct()
parserError()
parserExit()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  $args = array()) 

Parameters

$args

parserError()

parserError(string  $msg) 

Print a usage message incorporating $msg to stderr and exit.

If you override this in a subclass, it should not return -- it should either exit or raise an exception.

Parameters

string $msg

parserExit()

parserExit(  $status,   $msg = null) 

Parameters

$status
$msg