# imagify/2.2.9/vendor/league/container/src/ServiceProvider/ServiceProviderAggregateInterface.php

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

- Page: https://pluginprobe.com/plugins/imagify/2.2.9/code/vendor/league/container/src/ServiceProvider/ServiceProviderAggregateInterface.php
- Raw: https://pluginprobe.com/plugins/imagify/2.2.9/raw/vendor/league/container/src/ServiceProvider/ServiceProviderAggregateInterface.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.9/code/vendor/league/container/src/ServiceProvider/ServiceProviderAggregateInterface.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Imagify\Dependencies\League\Container\ServiceProvider;

use IteratorAggregate;
use Imagify\Dependencies\League\Container\ContainerAwareInterface;

interface ServiceProviderAggregateInterface extends ContainerAwareInterface, IteratorAggregate
{
    public function add(ServiceProviderInterface $provider): ServiceProviderAggregateInterface;
    public function provides(string $id): bool;
    public function register(string $service): void;
}

```
