src/Settings/Settings.php
public function all()
    {
        $saved = $this->allSaved();

        return $this->allDefaults()->map(function ($value, $key) use ($saved) {
            if ($saved->has($key)) {
                return $saved->get($key);
            }

            return $value;
        });
    }
public function all()
    {
        $saved = $this->allSaved();

        return $this->allDefaults()->map(function ($value, $key) use ($saved) {
            if ($saved->has($key)) {
                return $saved->get($key);
            }

            return $value;
        });
    }
public function all ( ) { $ saved = $ this -> allSaved ( ) ; return $ this -> allDefaults ( ) -> map ( function ( $ value , $ key ) use ( $ saved ) { if ( $ saved -> has ( $ key ) ) { return $ saved -> get ( $ key ) ; } return $ value ; } ) ; }
Return all settings used by resource, including defaults.

@return \Illuminate\Support\Collection
Return all settings used by resource including defaults .