<?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);
});
}
}
If you encounter any issues or need assistance, please reach out to our dedicated developer support team Contact Us
Thank you for choosing Kueue Pay Payment Gateway Solutions! We look forward to seeing your integration thrive and provide a seamless payment experience for your valued customers.