Method | Description | |
---|---|---|
clearProperties ( ) | Clears all properties | |
getProperties ( ) : Map | Returns a collection of properties | |
getProperty ( string $nameOrProperty ) : |
Returns a property | |
getPropertyNames ( ) : Set | Returns all property names | |
hasProperty ( |
Checks whether a property exists | |
removeProperty ( |
Removes a property | |
setProperties ( array $properties ) | Sets a collection of properties | |
setProperty ( |
Adds a property |
public getProperties ( ) : Map | ||
return | Map |
public getProperty ( string $nameOrProperty ) : |
||
$nameOrProperty | string | property name |
return |
public getPropertyNames ( ) : Set | ||
return | Set |
public hasProperty ( |
||
$nameOrProperty | property name or instance | |
return | boolean | `true` if a property exists and `false` if not |
public removeProperty ( |
||
$nameOrProperty | property name or instance |
public setProperties ( array $properties ) | ||
$properties | array |
public setProperty ( |
||
$property |