private function getTimePeriodChoices(): array
    {
        $choices = [];
        foreach ($this->getTimePeriodField() as $label => $value) {
            $choices[$label] = $value;
        }

        return $choices;
    }
private function getTimePeriodChoices(): array
    {
        $choices = [];
        foreach ($this->getTimePeriodField() as $label => $value) {
            $choices[$label] = $value;
        }

        return $choices;
    }
private function getTimePeriodChoices ( ) : array { $ choices = [ ] ; foreach ( $ this -> getTimePeriodField ( ) as $ label => $ value ) { $ choices [ $ label ] = $ value ; } return $ choices ; }
Generate time periods options available to choose.

@return array

@throws \Symfony\Component\Translation\Exception\InvalidArgumentException
Generate time periods options available to choose .