Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcus Pettersen Irgens marcusirgens

View GitHub Profile
View PluginMethod.php
<?php
/**
* Catch any exceptions, log them and rethrow the exception
*
* @see \Vendor\Library\Class::sendRequest()
* @param $subject
* @param callable $next
* @param mixed ...$args
* @return mixed
* @throws \Throwable
You can’t perform that action at this time.