PHP 클래스 Cascade\Tests\Fixtures\SampleClass

저자: Raphael Antonmattei ([email protected])
파일 보기 프로젝트 열기: theorchard/monolog-cascade 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$optionalB mixed Optional member A
$optionalY mixed Optional member Y

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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() 공개 메소드

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

optionalX() 공개 메소드

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

setHello() 공개 메소드

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

setMandatory() 공개 메소드

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

setThere() 공개 메소드

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

프로퍼티 상세

$optionalB 공개적으로 프로퍼티

Optional member A
public mixed $optionalB
리턴 mixed

$optionalY 공개적으로 프로퍼티

Optional member Y
public mixed $optionalY
리턴 mixed