Methods
$abstract()
If you want to mark a method as abstract use this.
$needs(…needs)
Check for required properties
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
needs |
string | Array |
<repeatable> |
What is needed If this is a
The names are case sensitive, and we'll look for the method after stripping off anything from the first non-word character. If this is an If you are calling this in an abstract class constructor, likely only
the method checks will be useful, as the |