src/Charcoal/Admin/Ui/CollectionContainerTrait.php
public function mergeCollectionConfig(array $config)
    {
        if ($this->collectionConfig === null) {
            $this->setCollectionConfig($config);

            return $this;
        }

        $this->collectionConfig = array_replace_recursive(
            $this->defaultCollectionConfig(),
            $this->collectionConfig,
            $this->parseCollectionConfig($config)
        );

        return $this;
    }
public function mergeCollectionConfig(array $config)
    {
        if ($this->collectionConfig === null) {
            $this->setCollectionConfig($config);

            return $this;
        }

        $this->collectionConfig = array_replace_recursive(
            $this->defaultCollectionConfig(),
            $this->collectionConfig,
            $this->parseCollectionConfig($config)
        );

        return $this;
    }
public function mergeCollectionConfig ( array $ config ) { if ( $ this -> collectionConfig === null ) { $ this -> setCollectionConfig ( $ config ) ; return $ this ; } $ this -> collectionConfig = array_replace_recursive ( $ this -> defaultCollectionConfig ( ) , $ this -> collectionConfig , $ this -> parseCollectionConfig ( $ config ) ) ; return $ this ; }
Merge given parameters into the collection's configset.

@param  array $config New collection config values.
@return self
Merge given parameters into the collection s configset .