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

Breadcrumb

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

class Dir

Hierarchy

  • class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
    • class \PhpParser\Node\Expr extends \PhpParser\NodeAbstract
      • class \PhpParser\Node\Scalar extends \PhpParser\Node\Expr
        • class \PhpParser\Node\Scalar\MagicConst extends \PhpParser\Node\Scalar
          • class \PhpParser\Node\Scalar\MagicConst\Dir extends \PhpParser\Node\Scalar\MagicConst

Expanded class hierarchy of Dir

8 string references to 'Dir'
ArchiveCommand::execute in vendor/composer/composer/src/Composer/Command/ArchiveCommand.php
Executes the current command.
ckeditor5.ckeditor5.yml in core/modules/ckeditor5/ckeditor5.ckeditor5.yml
core/modules/ckeditor5/ckeditor5.ckeditor5.yml
drupal_verify_install_file in core/includes/install.inc
Verifies the state of the specified file.
install_check_requirements in core/includes/install.core.inc
Checks installation requirements and reports any errors.
install_check_translations in core/includes/install.core.inc
Checks installation requirements and reports any errors.

... See full list

File

vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Dir.php, line 7

Namespace

PhpParser\Node\Scalar\MagicConst
View source
class Dir extends MagicConst {
    public function getName() : string {
        return '__DIR__';
    }
    public function getType() : string {
        return 'Scalar_MagicConst_Dir';
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Dir::getName public function Get name of magic constant. Overrides MagicConst::getName
Dir::getType public function
MagicConst::getSubNodeNames public function
MagicConst::__construct public function Constructs a magic constant node.

API Navigation

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