src/Forms/Fields/ChoiceList/ChoiceList.php
public function format(): ChoiceListInterface
    {
        if (empty($this->choices)) {
            return $this;
        }

        $this->results = $this->parse($this->choices);

        return $this;
    }
public function format(): ChoiceListInterface
    {
        if (empty($this->choices)) {
            return $this;
        }

        $this->results = $this->parse($this->choices);

        return $this;
    }
public function format ( ) : ChoiceListInterface { if ( empty ( $ this -> choices ) ) { return $ this ; } $ this -> results = $ this -> parse ( $ this -> choices ) ; return $ this ; }
Format the choices for use on output.

@return ChoiceListInterface
Format the choices for use on output .