Search for method

  1. Search 7.x for method
  2. Search 9.5.x for method
  3. Search 8.9.x for method
  4. Search 10.3.x for method
  5. Search main for method
  6. Other projects
Title Object type File name Summary
StaticReflectionClass::getMethods function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionClass::hasMethod function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionParser::$methodAttributes property core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php Method attributes
StaticReflectionParser::getMethodAttributes function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php
Target::TARGET_METHOD constant core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Target.php
test-methods-with-metadata.php file core/tests/PHPStan/fixtures/test-methods-with-metadata.php
TestAttributes::attributeMethod function core/modules/system/tests/modules/router_test_directory/src/Controller/TestAttributes.php #[Route('/test_method_attribute', name: 'router_test.method_attribute', requirements: [
'_access' => 'TRUE',
], alias: 'router_test.alias_test')]
#[Route('/test_method_attribute-other-path', name: 'router_test.method_attribute_other', requirements:…
TestClassMethodMetadata class core/tests/PHPStan/Rules/TestClassMethodMetadata.php Validates method-level PHPUnit test metadata in test classes.
TestClassMethodMetadata.php file core/tests/PHPStan/Rules/TestClassMethodMetadata.php
TestClassMethodMetadata::$annotationTargets property core/tests/PHPStan/Rules/TestClassMethodMetadata.php PHPUnit metadata annotations.
TestClassMethodMetadata::getNodeType function core/tests/PHPStan/Rules/TestClassMethodMetadata.php
TestClassMethodMetadata::processNode function core/tests/PHPStan/Rules/TestClassMethodMetadata.php
TestClassMethodMetadata::__construct function core/tests/PHPStan/Rules/TestClassMethodMetadata.php
TestClassMethodMetadataTest class core/tests/PHPStan/tests/TestClassMethodMetadataTest.php Tests TestClassMethodMetadata rule.
TestClassMethodMetadataTest.php file core/tests/PHPStan/tests/TestClassMethodMetadataTest.php
TestClassMethodMetadataTest::getRule function core/tests/PHPStan/tests/TestClassMethodMetadataTest.php
TestClassMethodMetadataTest::testRule function core/tests/PHPStan/tests/TestClassMethodMetadataTest.php
TestController::testMethod function core/modules/system/tests/modules/csrf_test/src/Controller/TestController.php Just a test method for the test routes.
TestController::testMethod function core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php Helper page to load jQuery in test.
TestHookAfterClassMethod class core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookAfterClassMethod.php This class contains hook implementations.
TestHookAfterClassMethod class core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookAfterClassMethod.php This class contains hook implementations.
TestHookAfterClassMethod.php file core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookAfterClassMethod.php
TestHookAfterClassMethod.php file core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookAfterClassMethod.php
TestHookAfterClassMethod::hookAfterClassMethod function core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookAfterClassMethod.php This pair tests OrderAfter with a passed class and method.
TestHookAfterClassMethod::hookAfterClassMethod function core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookAfterClassMethod.php This pair tests OrderAfter with a passed class and method.
TestHookClass::someMethod function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Example method.
TestInterface::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestLocalTaskController::methodWithoutUpcastNode function core/modules/content_moderation/tests/modules/content_moderation_test_local_task/src/Controller/TestLocalTaskController.php A method which does not hint the node parameter to avoid upcasting.
TestServiceComplexMethod class core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php Call used to test a service with a complex method.
TestServiceComplexMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with complex method.
TestServiceComplexMethod::complexMethod function core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
TestServiceComplexMethod::complexMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceMethodReturnsVoid class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with void returning method.
TestServiceMethodReturnsVoid::methodReturnsVoid function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceMethodWithParameter class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with method without parameter.
TestServiceMethodWithParameter::methodWithParameter function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceNoMethod class core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php Class used to test a service that has no methods.
TestServiceNoMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service without methods.
TestServiceSimpleMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with simple method.
TestServiceSimpleMethod::method function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithInterface::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithProtectedMethods class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with protected methods.
TestServiceWithProtectedMethods::privateMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithProtectedMethods::protectedMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithProtectedMethods::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithPublicStaticMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with public static method.
TestServiceWithPublicStaticMethod::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestStaticMethodClass class core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php Provides a class for testing a static method.
TestStaticMethodClass::access function core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
TrustedMethods class core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Test class with implemented trusted callbacks.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.