public function getDefinedOptions()
    {
        if (! $this->defined) {
            return null;
        }

        if ($this->defined instanceof ConfigInterface) {
            return $this->defined->getArrayCopy();
        }

        return (array)$this->defined;
    }