PHP 클래스 Scalr\Tests\Functional\Api\V2\SpecSchema\DataTypes\AbstractSpecObject

부터: 5.11 (03.12.2015)
저자: Andrii Penchuk ([email protected])
상속: extends stdClass
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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