You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Polmonite edited this page Sep 21, 2019
·
1 revision
ThisAccessor
The this accessor calls a method of the underlying Malini\Post; it is
possible to add more methods to an instance of the Malini\Post using the
extend method.
Syntax:
@this:{method_name}
{method_name}: name of the method to call.
The Malini\Post does not expose a lot of useful methods to retrieve data, but it is possible to dinamically add methods to an instance using the extend method.
It is particularly useful when creating custom accessors.