Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core
Primary tabs
Introduction to classes
A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.
See also
Objected-oriented programming conventions
File
-
core/
core.api.php, line 1518
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
TestErroredSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestErroredSubscriber | final class | PHPUnit\Logging\TeamCity | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TesterTrait | trait | Symfony\Component\Console\Tester | vendor/ |
@author Amrouche Hamza <hamza.simperfit@gmail.com> | ||||
TestExpression | class | Twig\Node\Expression | vendor/ |
7 | 9 | |||
TestFailedSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFailedSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFailedSubscriber | final class | PHPUnit\Runner\ResultCache | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFailedSubscriber | final class | PHPUnit\Logging\JUnit | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFailedSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFailedSubscriber | final class | PHPUnit\Logging\TeamCity | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFile | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
TestFileCollection | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
TestFileCollectionIterator | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFileNotFoundException | final class | PHPUnit\TextUI | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
TestFileParser | class | Drupal\Core\Test\RunTests | core/ |
Parses class names from PHP files without loading them. | ||||
TestFinishedSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFinishedSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFinishedSubscriber | final class | PHPUnit\Runner\ResultCache | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFinishedSubscriber | final class | PHPUnit\Runner\GarbageCollection | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFinishedSubscriber | final class | PHPUnit\Logging\JUnit | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFinishedSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestFinishedSubscriber | final class | PHPUnit\Logging\TeamCity | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestHttpClientMiddleware | class | Drupal\Core\Test\HttpClientMiddleware | core/ |
Overrides the User-Agent HTTP header for outbound HTTP requests. | ||||
TestIdFilterIterator | final class | PHPUnit\Runner\Filter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestIdMissingException | final class | SebastianBergmann\CodeCoverage | vendor/ |
1 | ||||
TestKernel | class | Drupal\Core\Test | core/ |
Kernel that is only used by mock front controllers. | ||||
TestLogger | final class | ColinODell\PsrTestLogger | vendor/ |
Used for testing purposes. | ||||
TestMailCollector | class | Drupal\Core\Mail\Plugin\Mail | core/ |
Defines a mail backend that captures sent messages in the state system. | ||||
TestMarkedIncompleteSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestMarkedIncompleteSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestMarkedIncompleteSubscriber | final class | PHPUnit\Runner\ResultCache | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestMarkedIncompleteSubscriber | final class | PHPUnit\Logging\JUnit | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestMarkedIncompleteSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestMarkedIncompleteSubscriber | final class | PHPUnit\Logging\TeamCity | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestMethod | final class | PHPUnit\Event\Code | vendor/ |
@psalm-immutable | 9 | |||
TestMethodBuilder | final class | PHPUnit\Event\Code | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
TestPassedSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestPreparationFailedSubscriber | final class | PHPUnit\Logging\JUnit | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestPreparationStartedSubscriber | final class | PHPUnit\Logging\JUnit | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestPreparedSubscriber | final class | PHPUnit\Logging\TestDox | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestPreparedSubscriber | final class | PHPUnit\Runner\ResultCache | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestPreparedSubscriber | final class | PHPUnit\TextUI\Output\Default\ProgressPrinter | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestPreparedSubscriber | final class | PHPUnit\Logging\JUnit | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestPreparedSubscriber | final class | PHPUnit\Logging\TeamCity | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestPreparedSubscriber | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestProxyCreated | final class | PHPUnit\Event\Test | vendor/ |
@psalm-immutable | ||||
TestProxyCreatedSubscriber | interface | PHPUnit\Event\Test | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
TestResult | final class | PHPUnit\TestRunner\TestResult | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 4 | |||
TestResult | final class | PHPUnit\Logging\TestDox | vendor/ |
@psalm-immutable | 2 | |||
TestResultCollection | final class | PHPUnit\Logging\TestDox | vendor/ |
@template-implements IteratorAggregate<int, TestResult> | 2 |