protected function initializeDefaultValues()
    {
        $defaults = [];

        $filters = $this->getFilterInformation();

        foreach (array_keys($filters) as $key) {
            $defaults[ $key ] = null;
        }

        $this->defaults = $defaults;

        return $this;
    }
protected function initializeDefaultValues()
    {
        $defaults = [];

        $filters = $this->getFilterInformation();

        foreach (array_keys($filters) as $key) {
            $defaults[ $key ] = null;
        }

        $this->defaults = $defaults;

        return $this;
    }
protected function initializeDefaultValues ( ) { $ defaults = [ ] ; $ filters = $ this -> getFilterInformation ( ) ; foreach ( array_keys ( $ filters ) as $ key ) { $ defaults [ $ key ] = null ; } $ this -> defaults = $ defaults ; return $ this ; }
Sets default values based on model information.

@return $this
Sets default values based on model information .