PHP Class Cascade\Tests\Fixtures\SampleClass

Author: Raphael Antonmattei ([email protected])
Datei anzeigen Open project: theorchard/monolog-cascade Class Usage Examples

Public Properties

Property Type Description
$optionalB mixed Optional member A
$optionalY mixed Optional member Y

Public Methods

Method Description
__construct ( mixed $mandatory, string $optionalA = 'AAA', string $optionalB = 'BBB', $optional_snake = 'snake' ) Constructor
optionalA ( mixed $value ) Function that sets the optionalA member
optionalX ( mixed $value ) Function that sets the optionalX member
setHello ( mixed $value ) Function that sets the hello member
setMandatory ( mixed $mandatory ) Set the mandatory property
setThere ( mixed $value ) Function that sets the there member

Method Details

__construct() public method

Constructor
public __construct ( mixed $mandatory, string $optionalA = 'AAA', string $optionalB = 'BBB', $optional_snake = 'snake' )
$mandatory mixed Some mandatory param
$optionalA string Some optional param
$optionalB string Some other optional param

optionalA() public method

Function that sets the optionalA member
public optionalA ( mixed $value )
$value mixed Some value

optionalX() public method

Function that sets the optionalX member
public optionalX ( mixed $value )
$value mixed Some value

setHello() public method

Function that sets the hello member
public setHello ( mixed $value )
$value mixed Some value

setMandatory() public method

Set the mandatory property
public setMandatory ( mixed $mandatory )
$mandatory mixed Some value

setThere() public method

Function that sets the there member
public setThere ( mixed $value )
$value mixed Some value

Property Details

$optionalB public_oe property

Optional member A
public mixed $optionalB
return mixed

$optionalY public_oe property

Optional member Y
public mixed $optionalY
return mixed