src/Presenters/Presenter.php
public function timeOrNow($column = 'date')
    {
        $date = $this->entity->$column ?: Carbon::now();

        return $date->format('H:i');
    }
public function timeOrNow($column = 'date')
    {
        $date = $this->entity->$column ?: Carbon::now();

        return $date->format('H:i');
    }
public function timeOrNow ( $ column = 'date' ) { $ date = $ this -> entity -> $ column ? : Carbon :: now ( ) ; return $ date -> format ( 'H:i' ) ; }
Return resource's time or curent time if empty.

@param string $column

@return Carbon
Return resource s time or curent time if empty .