프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$attributes | array |
메소드 | 설명 | |
---|---|---|
__get ( $property ) | ||
getAttribute ( string $name, string $default = null ) : mixed | Return the extra attribute. | |
getAttributes ( ) : array | Return the attributes. | |
merge ( array $attributes ) | Map the given array onto the user's properties. | |
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) | ||
setAttribute ( string $name, mixed $value ) | Set extra attributes. | |
toArray ( ) : array | Return array. | |
toJSON ( ) : string | Return JSON. |
public setAttribute ( string $name, mixed $value ) | ||
$name | string | |
$value | mixed |