Definition at line 25 of file DeprecationWrapper.php.
◆ __construct()
Create the wrapper.
- Parameters
-
| mixed | $object | The object or string to wrap |
| string | $message | The deprecation message to display when used |
| string | $version | The Elgg version this was deprecated |
| callable | $reporter | function called to report deprecation |
Definition at line 49 of file DeprecationWrapper.php.
◆ __call()
| Elgg\DeprecationWrapper::__call |
( |
|
$name, |
|
|
|
$arguments |
|
) |
| |
Call a method on the object.
- Parameters
-
| string | $name | Method name |
| array | $arguments | Method arguments |
- Returns
- mixed
Definition at line 90 of file DeprecationWrapper.php.
◆ __get()
| Elgg\DeprecationWrapper::__get |
( |
|
$name | ) |
|
◆ __set()
| Elgg\DeprecationWrapper::__set |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
Set a property on the object.
- Parameters
-
| string | $name | Property name |
| mixed | $value | Property value |
- Returns
- void
Definition at line 78 of file DeprecationWrapper.php.
◆ __toString()
| Elgg\DeprecationWrapper::__toString |
( |
| ) |
|
◆ displayWarning()
| Elgg\DeprecationWrapper::displayWarning |
( |
| ) |
|
|
protected |
◆ offsetExists()
| Elgg\DeprecationWrapper::offsetExists |
( |
|
$offset | ) |
|
Array access interface.
- See also
- \ArrayAccess::offsetExists()
- Parameters
-
- Returns
- bool
Definition at line 191 of file DeprecationWrapper.php.
◆ offsetGet()
| Elgg\DeprecationWrapper::offsetGet |
( |
|
$key | ) |
|
Array access interface.
- See also
- \ArrayAccess::offsetGet()
- Parameters
-
- Returns
- mixed
Definition at line 155 of file DeprecationWrapper.php.
◆ offsetSet()
| Elgg\DeprecationWrapper::offsetSet |
( |
|
$key, |
|
|
|
$value |
|
) |
| |
Array access interface.
- See also
- \ArrayAccess::offsetSet()
- Parameters
-
| mixed | $key | Name |
| mixed | $value | Value |
- Returns
- void
Definition at line 132 of file DeprecationWrapper.php.
◆ offsetUnset()
| Elgg\DeprecationWrapper::offsetUnset |
( |
|
$key | ) |
|
Array access interface.
- See also
- \ArrayAccess::offsetUnset()
- Parameters
-
- Returns
- void
Definition at line 173 of file DeprecationWrapper.php.
◆ $message
| Elgg\DeprecationWrapper::$message |
|
protected |
◆ $object
| Elgg\DeprecationWrapper::$object |
|
protected |
◆ $reporter
| Elgg\DeprecationWrapper::$reporter |
|
protected |
◆ $string
| Elgg\DeprecationWrapper::$string |
|
protected |
◆ $version
| Elgg\DeprecationWrapper::$version |
|
protected |
The documentation for this class was generated from the following file: