public function createdAt($timeAgo = false, $format = 'd.m.Y'): string
    {
        return $timeAgo ? $this->getTimeAgo($this->created_at) : $this->created_at->format($format);
    }
public function createdAt($timeAgo = false, $format = 'd.m.Y'): string
    {
        return $timeAgo ? $this->getTimeAgo($this->created_at) : $this->created_at->format($format);
    }
@param bool   $timeAgo
@param string $format

@return string