src/Traits/DateTimeTrait.php
public function deletedAt($timeAgo = false, $format = 'd.m.Y'): string
    {
        return $timeAgo ? $this->getTimeAgo($this->deleted_at) : $this->deleted_at->format($format);
    }
public function deletedAt($timeAgo = false, $format = 'd.m.Y'): string
    {
        return $timeAgo ? $this->getTimeAgo($this->deleted_at) : $this->deleted_at->format($format);
    }
public function deletedAt ( $ timeAgo = false , $ format = 'd.m.Y' ) : string { return $ timeAgo ? $ this -> getTimeAgo ( $ this -> deleted_at ) : $ this -> deleted_at -> format ( $ format ) ; }
@param bool   $timeAgo
@param string $format

@return string
@param bool $timeAgo @param string $format