Skip to content

Commit

Permalink
add reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Apr 2, 2021
1 parent 78fb3b2 commit fb8ce0c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/EngineManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@ public function createNullDriver()
return new NullEngine;
}

/**
* Forget all of the resolved engine instances.
*
* @return $this
*/
public function forgetEngines()
{
$this->drivers = [];

return $this;
}

/**
* Get the default Scout driver name.
*
Expand Down

0 comments on commit fb8ce0c

Please sign in to comment.