# imagify/2.2.8/vendor/league/container/src/ServiceProvider/ServiceProviderInterface.php

Imagify Image Optimization: Optimize Images | Compress &amp; Convert to WebP/AVIF, version 2.2.8. 16 lines.

- Page: https://pluginprobe.com/plugins/imagify/2.2.8/code/vendor/league/container/src/ServiceProvider/ServiceProviderInterface.php
- Raw: https://pluginprobe.com/plugins/imagify/2.2.8/raw/vendor/league/container/src/ServiceProvider/ServiceProviderInterface.php
- Modified: 2026-05-25T15:55:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/imagify/2.2.8/code/vendor/league/container/src/ServiceProvider/ServiceProviderInterface.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Imagify\Dependencies\League\Container\ServiceProvider;

use Imagify\Dependencies\League\Container\ContainerAwareInterface;

interface ServiceProviderInterface extends ContainerAwareInterface
{
    public function getIdentifier(): string;
    public function provides(string $id): bool;
    public function register(): void;
    public function setIdentifier(string $id): ServiceProviderInterface;
}

```
