Skip to content

Commit

Permalink
Merge pull request #1 from tanUIT/master
Browse files Browse the repository at this point in the history
Allow to clear Engine instance
  • Loading branch information
khanhicetea committed Apr 19, 2017
2 parents 763449f + b97df15 commit 70cbd7f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Sifoni/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ public static function getInstance()

return static::$instance;
}

/**
* @return void
*/
public static function clearInstance()
{
static::$instance = null;
}

/**
* @return Sifoni\Application
Expand Down

0 comments on commit 70cbd7f

Please sign in to comment.