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

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

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
PgsqlQueryFactory class Drupal\workspaces\EntityQuery core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php Workspaces PostgreSQL-specific entity query implementation. 2
PharArchiver class Composer\Package\Archiver vendor/composer/composer/src/Composer/Package/Archiver/PharArchiver.php @author Till Klampaeckel <till@php.net> @author Nils Adermann <naderman@naderman.de> @author Matthieu Moquet <matthieu@moquet.net>
PharAutoloader final class PHPStan vendor/phpstan/phpstan/bootstrap.php
PharDownloader class Composer\Downloader vendor/composer/composer/src/Composer/Downloader/PharDownloader.php Downloader for phar files
PharLoader final class PHPUnit\Runner\Extension vendor/phpunit/phpunit/src/Runner/Extension/PharLoader.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
PhiftyInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php
PhoneField class Drupal\telephone\Plugin\migrate\field\d7 core/modules/telephone/src/Plugin/migrate/field/d7/PhoneField.php
PHP class PHP_CodeSniffer\Tokenizers vendor/squizlabs/php_codesniffer/src/Tokenizers/PHP.php 1 1
Php final class PHPUnit\TextUI\XmlConfiguration\CodeCoverage\Report vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/CodeCoverage/Report/Php.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
Php class Drupal\Component\Uuid core/lib/Drupal/Component/Uuid/Php.php Generates a UUID v4 (RFC 4122 section 4.4) using PHP code.
PHP final class PHPUnit\Event\Runtime vendor/phpunit/phpunit/src/Event/Value/Runtime/PHP.php @psalm-immutable
PHP final class SebastianBergmann\CodeCoverage\Report vendor/phpunit/php-code-coverage/src/Report/PHP.php 1
Php final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Value/Php.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 4
Php7 class PhpParser\Parser vendor/nikic/php-parser/lib/PhpParser/Parser/Php7.php 1
Php8 class PhpParser\Parser vendor/nikic/php-parser/lib/PhpParser/Parser/Php8.php 1
Php81GarbageCollectorStatusProvider final class PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/Php81GarbageCollectorStatusProvider.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
Php83GarbageCollectorStatusProvider final class PHPUnit\Event\Telemetry vendor/phpunit/phpunit/src/Event/Value/Telemetry/Php83GarbageCollectorStatusProvider.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
PhpArrayContainer class Drupal\Component\DependencyInjection core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php Provides a container optimized for Drupal's needs.
PhpArrayDumper class Drupal\Component\DependencyInjection\Dumper core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php PhpArrayDumper dumps a service container as a PHP array.
PhpassHashedPassword class Drupal\phpass\Password core/modules/phpass/src/Password/PhpassHashedPassword.php Legacy password hashing framework. 2
PhpassHashedPasswordBase abstract class Drupal\Core\Password core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Legacy password hashing framework. 1 1
PhpassHooks class Drupal\phpass\Hook core/modules/phpass/src/Hook/PhpassHooks.php Hook implementations for phpass.
PhpBackend class Drupal\Core\Cache core/lib/Drupal/Core/Cache/PhpBackend.php Defines a PHP cache implementation.
PhpBackendFactory class Drupal\Core\Cache core/lib/Drupal/Core/Cache/PhpBackendFactory.php
PhpBBInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
PhpBridgeSessionStorage class Symfony\Component\HttpFoundation\Session\Storage vendor/symfony/http-foundation/Session/Storage/PhpBridgeSessionStorage.php Allows session to be started by PHP and managed by Symfony.
PhpBridgeSessionStorageFactory class Symfony\Component\HttpFoundation\Session\Storage vendor/symfony/http-foundation/Session/Storage/PhpBridgeSessionStorageFactory.php @author Jérémy Derussé <jeremy@derusse.com>
PhpConfig class Composer\XdebugHandler vendor/composer/xdebug-handler/src/PhpConfig.php @author John Stevenson <john-stevenson@blueyonder.co.uk>
PhpDeprecationTriggered final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Issue/PhpDeprecationTriggered.php @psalm-immutable 9
PhpDeprecationTriggeredSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/Issue/PhpDeprecationTriggeredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 4 4
PhpDocChildNode interface PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocChildNode.php 2 2
PhpDocNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocNode.php 3
PhpDocParser class PHPStan\PhpDocParser\Parser vendor/phpstan/phpdoc-parser/src/Parser/PhpDocParser.php @phpstan-import-type ValueType from Doctrine\DoctrineArgument as DoctrineValueType 2
PhpDocParserHelper class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/PhpDocParserHelper.php @internal 2
PhpdocSingleLineVarFixer class PharIo\CSFixer vendor/phar-io/manifest/tools/php-cs-fixer.d/PhpdocSingleLineVarFixer.php Main implementation taken from kubawerlos/php-cs-fixer-customere-fixers Copyright (c) 2018 Kuba Werłos
PhpDocTagNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocTagNode.php 21
PhpDocTagValueNode interface PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocTagValueNode.php 29 5
PhpDocTextNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocTextNode.php 2
PhpDownloader final class PHPUnit\Util\Http vendor/phpunit/phpunit/src/Util/Http/PhpDownloader.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
PhpDumper class Symfony\Component\DependencyInjection\Dumper vendor/symfony/dependency-injection/Dumper/PhpDumper.php PhpDumper dumps a service container as a PHP class. 1
PhpElement class PharIo\Manifest vendor/phar-io/manifest/src/xml/PhpElement.php
PhpExecutableFinder class Symfony\Component\Process vendor/symfony/process/PhpExecutableFinder.php An executable finder specifically designed for the PHP executable. 4
PhpExtensionRequirement class PharIo\Manifest vendor/phar-io/manifest/src/values/PhpExtensionRequirement.php
PhpExtensionsValidator class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/PhpExtensionsValidator.php Performs validation if certain PHP extensions are enabled.
PhpFileCleaner class Composer\ClassMapGenerator vendor/composer/class-map-generator/src/PhpFileCleaner.php @author Jordi Boggiano <j.boggiano@seld.be> @internal
PhpFileLoader class Symfony\Component\Routing\Loader vendor/symfony/routing/Loader/PhpFileLoader.php PhpFileLoader loads routes from a PHP file. 1 1
PhpFileLoader class Symfony\Component\DependencyInjection\Loader vendor/symfony/dependency-injection/Loader/PhpFileLoader.php PhpFileLoader loads service definitions from a PHP file. 1 5
PhpFileParser class Composer\ClassMapGenerator vendor/composer/class-map-generator/src/PhpFileParser.php @author Jordi Boggiano <j.boggiano@seld.be>
PhpHandler final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/PhpHandler.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
PhpIniAccessor class OpenTelemetry\SDK\Common\Configuration\Resolver vendor/open-telemetry/sdk/Common/Configuration/Resolver/PhpIniAccessor.php

Pagination

  • First page
  • Previous page
  • …
  • Page 139
  • Page 140
  • Page 141
  • Page 142
  • Page 143
  • Page 144
  • Page 145
  • Page 146
  • Page 147
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal