Eloquence\Behaviours\CamelCasing::getDates PHP Method

getDates() public method

Overloads the eloquent getDates method to ensure that date field declarations can be made in camelCase but mapped to/from DB in snake_case.
public getDates ( ) : array
return array
    public function getDates()
    {
        $dates = parent::getDates();
        return array_map('snake_case', $dates);
    }