Level 4
nevermind its echoing now....
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Has somethign changed with accessing date fields of model? I believe the app was working fine but now echoing a date field "arrived_at" returns blank?
App\Booking Object
(
[dates:protected] => Array
(
[0] => created_at
[1] => updated_at
[2] => arrived_at
[3] => departured_at
)
[connection:protected] =>
[table:protected] =>
[primaryKey:protected] => id
[perPage:protected] => 15
[incrementing] => 1
[timestamps] => 1
[attributes:protected] => Array
(
[id] => 83
[plot_id] => 1
[arrived_at] => 2016-05-15
[departured_at] => 2016-05-17
[price] => 36
[status] => reserved
[created_at] => 2016-05-14 20:15:34
[updated_at] => 2016-05-14 20:15:34
[nights] => 2
[deposit] => 30
)
[original:protected] => Array
(
[id] => 83
[plot_id] => 1
[arrived_at] => 2016-05-15
[departured_at] => 2016-05-17
[price] => 36
[status] => reserved
[created_at] => 2016-05-14 20:15:34
[updated_at] => 2016-05-14 20:15:34
[nights] => 2
[deposit] => 30
)
Please or to participate in this conversation.