Eloquence\Behaviours\CamelCasing::getDates PHP Метод

getDates() публичный Метод

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
Результат array
    public function getDates()
    {
        $dates = parent::getDates();
        return array_map('snake_case', $dates);
    }