public function getJsonData() : array
    {
        $return = [];

        foreach (Hooks::getValidHooks() as $hook => $value) {
            $return[$hook] = $this->hooks[$hook]->getJsonData();
        }

        return $return;
    }
public function getJsonData() : array
    {
        $return = [];

        foreach (Hooks::getValidHooks() as $hook => $value) {
            $return[$hook] = $this->hooks[$hook]->getJsonData();
        }

        return $return;
    }
public function getJsonData ( ) : array { $ return = [ ] ; foreach ( Hooks :: getValidHooks ( ) as $ hook => $ value ) { $ return [ $ hook ] = $ this -> hooks [ $ hook ] -> getJsonData ( ) ; } return $ return ; }
Return config array to write to disc.

@return array
Return config array to write to disc .