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

Breadcrumb

  1. Drupal Core 11.1.x
  2. ControllerArgumentsEvent.php

function ControllerArgumentsEvent::getAttributes

@template T of class-string|null

@psalm-return (T is null ? array<class-string, list<object>> : list<object>)

Parameters

T $className:

Return value

array<class-string, list<object>>|list<object>

File

vendor/symfony/http-kernel/Event/ControllerArgumentsEvent.php, line 108

Class

ControllerArgumentsEvent
Allows filtering of controller arguments.

Namespace

Symfony\Component\HttpKernel\Event

Code

public function getAttributes(?string $className = null) : array {
    return $this->controllerEvent
        ->getAttributes($className);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal