PHP Класс Cascade\Tests\Fixtures\SampleClass

Автор: Raphael Antonmattei ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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