예제 #1
0
 public function testBefore(TestEvent $e)
 {
     // Clear cache if env var is not set or is set to true
     if (false === getenv('ADDENDUM_CACHE_CLEAR') || getenv('ADDENDUM_CACHE_CLEAR')) {
         Addendum::cacheClear();
         exec('rm -rf vendor/addendum/*');
     }
 }
예제 #2
0
 public function _after()
 {
     Addendum::cacheClear();
 }