classes/Collections/Elements.php
protected function mergeSources()
    {
        $assoc = $this->assocConfig();

        return array_replace_recursive($assoc,

            // Get only the databse records whose keys are present in the YAML.  This removes
            // entries that may be from older YAML configs.
            array_intersect_key($this->assocAdminChoices(), $assoc)
        );
    }
protected function mergeSources()
    {
        $assoc = $this->assocConfig();

        return array_replace_recursive($assoc,

            // Get only the databse records whose keys are present in the YAML.  This removes
            // entries that may be from older YAML configs.
            array_intersect_key($this->assocAdminChoices(), $assoc)
        );
    }
protected function mergeSources ( ) { $ assoc = $ this -> assocConfig ( ) ; return array_replace_recursive ( $ assoc , // Get only the databse records whose keys are present in the YAML.  This removes // entries that may be from older YAML configs. array_intersect_key ( $ this -> assocAdminChoices ( ) , $ assoc ) ) ; }
Merge database records and config file into a single, flat associative array.

@return void
Merge database records and config file into a single flat associative array .