function _lastly($function, $finally, $context = NULL) { return Underscore::lastly($function, $finally, $context); }
/** * @tags utilities */ public function testLastly() { try { _::lastly(function () { throw new \Exception(""); }, function () use(&$lastly) { $lastly = true; }); } catch (\Exception $e) { $exception = true; } $this->boolean($lastly)->isTrue(); $this->boolean($exception)->isTrue(); }