PHP 트레잇 Amp\Struct

This trait is intended to make using public properties a little safer by throwing when nonexistent property names are read or written.
파일 보기 프로젝트 열기: amphp/amp

공개 메소드들

메소드 설명
__get ( string $property )
__set ( string $property, $value )

비공개 메소드들

메소드 설명
generateStructPropertyError ( string $property ) : string
suggestPropertyName ( string $badProperty ) : string

메소드 상세

__get() 공개 메소드

public __get ( string $property )
$property string

__set() 공개 메소드

public __set ( string $property, $value )
$property string