booleanadapter.php Interfaces, Classes and Traits BooleanAdapter This adapter allows to verify that data that is inside the adapter is boolean only. You can set whatever data you want but the adapter will just keep it's boolean conversion.