Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

namespace Symfony\Contracts\Service

Object name File name Summary
ResetInterface vendor/symfony/service-contracts/ResetInterface.php Provides a way to reset an object to its initial state.
ServiceCollectionInterface vendor/symfony/service-contracts/ServiceCollectionInterface.php A ServiceProviderInterface that is also countable and iterable.
ServiceLocatorTrait vendor/symfony/service-contracts/ServiceLocatorTrait.php A trait to help implement ServiceProviderInterface.
ServiceMethodsSubscriberTrait vendor/symfony/service-contracts/ServiceMethodsSubscriberTrait.php Implementation of ServiceSubscriberInterface that determines subscribed services
from methods that have the #[SubscribedService] attribute.
ServiceProviderInterface vendor/symfony/service-contracts/ServiceProviderInterface.php A ServiceProviderInterface exposes the identifiers and the types of services provided by a container.
ServiceSubscriberInterface vendor/symfony/service-contracts/ServiceSubscriberInterface.php A ServiceSubscriber exposes its dependencies via the static {@link getSubscribedServices} method.
ServiceSubscriberTrait vendor/symfony/service-contracts/ServiceSubscriberTrait.php Implementation of ServiceSubscriberInterface that determines subscribed services
from methods that have the #[SubscribedService] attribute.
RSS feed
Powered by Drupal