for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PhpLightning\Invoice;
use Gacela\Framework\AbstractFacade;
/**
* @method InvoiceFactory getFactory()
*/
final class InvoiceFacade extends AbstractFacade
{
public function getCallbackUrl(string $username): array
return $this->getFactory()
->createCallbackUrl($username)
->getCallbackUrl($username);
}
public function generateInvoice(string $username, int $milliSats): array
->createInvoiceGenerator($username)
->generateInvoice($milliSats);