Type Interfaces
Introduction
These interfaces provide:
- ways to convert an object to built-in PHP data types
- ways to inspect an object just like you'd inspect built-in PHP data types
Click on the interface below for more details.
Available Interfaces
Interface | Purpose |
---|---|
CanBeEmpty |
adds isEmpty() to an object |
Listable |
adds toArray() to an object |
Logical |
adds isTrue() to an object |