<?php
namespace Intervention\Image;
use League\Container\ServiceProvider\AbstractServiceProvider;
class ImageServiceProviderLeague extends AbstractServiceProvider
{
/**
* @var array $config
*/
protected $config;
/**
* @var array $provides
*/
protected $provides = [
'Intervention\Image\ImageManager'
];
/**
* Constructor.
*
* @param array $config
*/
public function __construct($config = [])
{
$this->config = $config;
}
/**
* Register the server provider.
*
* @return void
*/
public function register()
{
$this->getContainer()->share('Intervention\Image\ImageManager', function () {
return new ImageManager($this->config);
});
}
}
To access the Kueue Pay Developer API, you’ll need an API key. You can obtain your API key by logging in to your Kueue Pay merchant account and navigating to the API section. Collect Client ID , Secret ID & Merchant ID Carefully. Keep your API key confidential and do not share it publicly.