PHP Class Scalr\Tests\Functional\Api\V2\SpecSchema\DataTypes\AbstractSpecObject

Since: 5.11 (03.12.2015)
Author: Andrii Penchuk ([email protected])
Inheritance: extends stdClass
Afficher le fichier Open project: scalr/scalr Class Usage Examples

Protected Properties

Свойство Type Description
$objectName string

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

__set() public méthode

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() public méthode

Returns current object name
public getObjectName ( ) : string
Résultat string

init() public static méthode

Initializes the object depending of the name in Api specifications
public static init ( string $name ) : ApiEntity | DetailsResponse | ListResponse | ObjectEntity | Property
$name string object name
Résultat ApiEntity | DetailsResponse | ListResponse | ObjectEntity | Property

Property Details

$objectName protected_oe property

protected string $objectName
Résultat string