Knp\Bundle\TimeBundle\DateTimeFormatter::getEmptyDiffMessage PHP Method

getEmptyDiffMessage() public method

Returns the message for an empty diff
public getEmptyDiffMessage ( ) : string
return string
    public function getEmptyDiffMessage()
    {
        return $this->translator->trans('diff.empty', array(), 'time');
    }