demo/Acme/Extendable/Mother/Mother.php
public function listAvailableStates(): array
    {
        if (!empty($this->states) && \is_array($this->states)) {
            return \array_keys($this->states);
        } else {
            return [];
        }
    }
public function listAvailableStates(): array
    {
        if (!empty($this->states) && \is_array($this->states)) {
            return \array_keys($this->states);
        } else {
            return [];
        }
    }
public function listAvailableStates ( ) : array { if ( ! empty ( $ this -> states ) && \ is_array ( $ this -> states ) ) { return \ array_keys ( $ this -> states ) ; } else { return [ ] ; } }
Return the list of registered states. Present only for debug and tests
Return the list of registered states . Present only for debug and tests