Updated Client Detail Header for better mobile fit, lots of progress on stripe pay and some other minor updates

This commit is contained in:
johnny@pittpc.com
2019-09-13 20:33:00 -04:00
parent 5f30dbf9a9
commit 59ce30bd79
178 changed files with 25119 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace Stripe\Util;
/**
* A very basic implementation of LoggerInterface that has just enough
* functionality that it can be the default for this library.
*/
class DefaultLogger implements LoggerInterface
{
public function error($message, array $context = [])
{
if (count($context) > 0) {
throw new \Stripe\Exception\BadMethodCallException('DefaultLogger does not currently implement context. Please implement if you need it.');
}
error_log($message);
}
}