protected function humanDateYesterday($parsedTxt)
    {
        $currentClass    = get_called_class();
        $parsedTxt->date = $currentClass::$humanReadableI18n['yesterday'];
        $parsedTxt->time = $currentClass::$humanReadableI18n['time_part'];
        
        $time = $this->format($currentClass::$humanReadableFormats['time']);
        
        $this->humanParseDateAndTimeText($parsedTxt, '', $time);
    }
protected function humanDateYesterday($parsedTxt)
    {
        $currentClass    = get_called_class();
        $parsedTxt->date = $currentClass::$humanReadableI18n['yesterday'];
        $parsedTxt->time = $currentClass::$humanReadableI18n['time_part'];
        
        $time = $this->format($currentClass::$humanReadableFormats['time']);
        
        $this->humanParseDateAndTimeText($parsedTxt, '', $time);
    }
protected function humanDateYesterday ( $ parsedTxt ) { $ currentClass = get_called_class ( ) ; $ parsedTxt -> date = $ currentClass :: $ humanReadableI18n [ 'yesterday' ] ; $ parsedTxt -> time = $ currentClass :: $ humanReadableI18n [ 'time_part' ] ; $ time = $ this -> format ( $ currentClass :: $ humanReadableFormats [ 'time' ] ) ; $ this -> humanParseDateAndTimeText ( $ parsedTxt , '' , $ time ) ; }
Format date to human readable when date is yesterday

@param object $parsedTxt Texts returned by humanReadable method

@return void
Format date to human readable when date is yesterday