public function forget($collection)
    {
        $collection = $this->getCollectionNameFromInstance($collection);

        if ($this->has($collection))
        {
            $this->dirty = true;

            unset($this->entries[$collection]);
        }
    }
public function forget($collection)
    {
        $collection = $this->getCollectionNameFromInstance($collection);

        if ($this->has($collection))
        {
            $this->dirty = true;

            unset($this->entries[$collection]);
        }
    }
public function forget ( $ collection ) { $ collection = $ this -> getCollectionNameFromInstance ( $ collection ) ; if ( $ this -> has ( $ collection ) ) { $ this -> dirty = true ; unset ( $ this -> entries [ $ collection ] ) ; } }
Forget a collection from the repository.

@param  string|\Basset\Collection  $collection
@return void
Forget a collection from the repository .