MAKS\AmqpAgent\Exception\MagicMethodsExceptionsTrait
A trait to throw exceptions on calls to magic methods.
Synopsis
- // methods
- public void __get()
- public void __set()
- public mixed __call()
- public static mixed __callStatic()
Hierarchy
Used by
Coverage
Methods | 0% | 0 / 4 |
Lines | 0% | / |
Methods
public
- __call() — Throws an exception for calls to undefined methods.
- __callStatic() — Throws an exception for calls to undefined static methods.
- __get() — Throws an exception when trying to get a class member via public property assignment notation.
- __set() — Throws an exception when trying to set a class member via public property assignment notation.
History
-
2021-01-12T21:10:21+00:00 (commit #d09424b)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Add strict types declaration * Add declare(strict_types=1) to all files * Fix file header DocBlock spacing of all files
-
2020-12-03T22:50:29+00:00 (commit #6b7dda6)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Update magic methods exceptions trait * Change internal method calls due to last code refactoring
-
2020-09-30T11:08:14+00:00 (commit #4403cfc)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Update magic methods exceptions trait * Update exceptions messages to prevent notices when passing an array
-
2020-09-26T17:35:15+00:00 (commit #7f99ed3)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Update magic methods exceptions trait * Remove unnecessary type checking
-
2020-09-25T19:51:22+00:00 (commit #eb6ca4c)
Author: Marwan Al-Soltany (MarwanAlsoltany@gmail.com) / Commiter: Marwan Al-Soltany (MarwanAlsoltany@gmail.com)
Add magic methods exceptions trait * Add MagicMethodsExceptionsTrait.php