Files
drupal11-ddev/vendor/league/container/src/ServiceProvider/ServiceProviderAggregateInterface.php
2025-10-08 11:39:17 -04:00

16 lines
444 B
PHP

<?php
declare(strict_types=1);
namespace League\Container\ServiceProvider;
use IteratorAggregate;
use 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;
}