Closed jbraband closed 1 year ago
The Entity class is missing a needed reference to Carbon. This is only needed once you add fields to the $dates property.
$dates
protected $dates = [ 'my_date_time_field' ];
With a date cast on the Entity model class, you receive this error message due to the missing reference
PHP Error: Class "SaintSystems\OData\Carbon" not found in /var/www/html/***/vendor/saintsystems/odata-client/src/Entity.php on line 1100
The Entity class is missing a needed reference to Carbon. This is only needed once you add fields to the
$dates
property.protected $dates = [ 'my_date_time_field' ];
With a date cast on the Entity model class, you receive this error message due to the missing reference
PHP Error: Class "SaintSystems\OData\Carbon" not found in /var/www/html/***/vendor/saintsystems/odata-client/src/Entity.php on line 1100