protected function fillValuesArray()
    {
        $this->values['j'] = $this->day;
        $this->values['d'] = str_pad($this->day, 2, 0, STR_PAD_LEFT);
        $this->values['D'] = static::$translation->getShortDays()[$this->date->dayOfWeek];
        $this->values['l'] = static::$translation->getDays()[$this->date->dayOfWeek];

        $this->values['n'] = $this->month;
        $this->values['m'] = str_pad($this->month, 2, 0, STR_PAD_LEFT);
        $this->values['M'] = static::$translation->getHijriMonths()[$this->month - 1];
        $this->values['F'] = static::$translation->getHijriMonths()[$this->month - 1];

        $this->values['o'] = $this->year;
        $this->values['y'] = substr($this->year, 0, 2);
        $this->values['Y'] = str_pad($this->year, 4, 0, STR_PAD_LEFT);

        $this->values['a'] = $this->date->hour >= 12 ? static::$translation->getPeriods()[1] : static::$translation->getPeriods()[0];
        $this->values['A'] = strtoupper($this->date->hour >= 12 ? static::$translation->getPeriods()[1] : static::$translation->getPeriods()[0]);

        $this->fillCarbonValues();

        return $this;
    }
protected function fillValuesArray()
    {
        $this->values['j'] = $this->day;
        $this->values['d'] = str_pad($this->day, 2, 0, STR_PAD_LEFT);
        $this->values['D'] = static::$translation->getShortDays()[$this->date->dayOfWeek];
        $this->values['l'] = static::$translation->getDays()[$this->date->dayOfWeek];

        $this->values['n'] = $this->month;
        $this->values['m'] = str_pad($this->month, 2, 0, STR_PAD_LEFT);
        $this->values['M'] = static::$translation->getHijriMonths()[$this->month - 1];
        $this->values['F'] = static::$translation->getHijriMonths()[$this->month - 1];

        $this->values['o'] = $this->year;
        $this->values['y'] = substr($this->year, 0, 2);
        $this->values['Y'] = str_pad($this->year, 4, 0, STR_PAD_LEFT);

        $this->values['a'] = $this->date->hour >= 12 ? static::$translation->getPeriods()[1] : static::$translation->getPeriods()[0];
        $this->values['A'] = strtoupper($this->date->hour >= 12 ? static::$translation->getPeriods()[1] : static::$translation->getPeriods()[0]);

        $this->fillCarbonValues();

        return $this;
    }
protected function fillValuesArray ( ) { $ this -> values [ 'j' ] = $ this -> day ; $ this -> values [ 'd' ] = str_pad ( $ this -> day , 2 , 0 , STR_PAD_LEFT ) ; $ this -> values [ 'D' ] = static :: $ translation -> getShortDays ( ) [ $ this -> date -> dayOfWeek ] ; $ this -> values [ 'l' ] = static :: $ translation -> getDays ( ) [ $ this -> date -> dayOfWeek ] ; $ this -> values [ 'n' ] = $ this -> month ; $ this -> values [ 'm' ] = str_pad ( $ this -> month , 2 , 0 , STR_PAD_LEFT ) ; $ this -> values [ 'M' ] = static :: $ translation -> getHijriMonths ( ) [ $ this -> month - 1 ] ; $ this -> values [ 'F' ] = static :: $ translation -> getHijriMonths ( ) [ $ this -> month - 1 ] ; $ this -> values [ 'o' ] = $ this -> year ; $ this -> values [ 'y' ] = substr ( $ this -> year , 0 , 2 ) ; $ this -> values [ 'Y' ] = str_pad ( $ this -> year , 4 , 0 , STR_PAD_LEFT ) ; $ this -> values [ 'a' ] = $ this -> date -> hour >= 12 ? static :: $ translation -> getPeriods ( ) [ 1 ] : static :: $ translation -> getPeriods ( ) [ 0 ] ; $ this -> values [ 'A' ] = strtoupper ( $ this -> date -> hour >= 12 ? static :: $ translation -> getPeriods ( ) [ 1 ] : static :: $ translation -> getPeriods ( ) [ 0 ] ) ; $ this -> fillCarbonValues ( ) ; return $ this ; }
Fill formats values

@return static
Fill formats values