src/Support/Concerns/DataContainer.php
public function allWithRemoved(): array
    {
        $items = $this->all();

        foreach ($this->removedItems as $deleted) {
            Arr::set($items, $deleted, null);
        }

        return $items;
    }
public function allWithRemoved(): array
    {
        $items = $this->all();

        foreach ($this->removedItems as $deleted) {
            Arr::set($items, $deleted, null);
        }

        return $items;
    }
public function allWithRemoved ( ) : array { $ items = $ this -> all ( ) ; foreach ( $ this -> removedItems as $ deleted ) { Arr :: set ( $ items , $ deleted , null ) ; } return $ items ; }
Get all available items including deleted.

@return array
Get all available items including deleted .