IntegerAdapter.php
Interfaces, Classes and Traits
- IntegerAdapter
- This adapter is in charge of ensuring that only integers reach the database channeled through it. So, whenever the user sets data to it we will perform a check to see if it's Integer data. Otherwise they'll get an exception.