PHP Класс Scalr\Tests\Functional\Api\V2\SpecSchema\DataTypes\AbstractSpecObject

С версии: 5.11 (03.12.2015)
Автор: Andrii Penchuk ([email protected])
Наследование: extends stdClass
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$objectName string

Открытые методы

Метод Описание
__construct ( string $name = '' ) AbstractSpecObject constructor.
__set ( string $name, mixed $value ) Magic setter. If the name begins with the 'x-' function will delete this section
getObjectName ( ) : string Returns current object name
init ( string $name ) : ApiEntity | DetailsResponse | ListResponse | ObjectEntity | Property Initializes the object depending of the name in Api specifications

Описание методов

__construct() публичный Метод

AbstractSpecObject constructor.
public __construct ( string $name = '' )
$name string

__set() публичный Метод

Magic setter. If the name begins with the 'x-' function will delete this section
public __set ( string $name, mixed $value )
$name string property name
$value mixed property value

getObjectName() публичный Метод

Returns current object name
public getObjectName ( ) : string
Результат string

init() публичный статический Метод

Initializes the object depending of the name in Api specifications
public static init ( string $name ) : ApiEntity | DetailsResponse | ListResponse | ObjectEntity | Property
$name string object name
Результат ApiEntity | DetailsResponse | ListResponse | ObjectEntity | Property

Описание свойств

$objectName защищенное свойство

protected string $objectName
Результат string