質問編集履歴
1
えっd
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
// ObjectClass(Eloquent???)
|
17
17
|
public function getAge()
|
18
18
|
{
|
19
|
-
return Carbon::parse($this->birtday);
|
19
|
+
return Carbon::parse($this->birtday)->age;
|
20
20
|
}
|
21
21
|
```
|
22
22
|
|