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

Breadcrumb

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

class Method

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Report/Xml/Method.php \SebastianBergmann\CodeCoverage\Report\Xml\Method
  2. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php \PhpParser\Builder\Method
  3. 11.1.x vendor/google/protobuf/src/Google/Protobuf/Method.php \Google\Protobuf\Method
  4. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php \phpDocumentor\Reflection\DocBlock\Tags\Method

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\Method extends \PhpParser\Node\Scalar\MagicConst

Expanded class hierarchy of Method

26 string references to 'Method'
Alias::getSubNodeNames in vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php
AnnotationParser::forMethod in vendor/phpunit/phpunit/src/Metadata/Parser/AnnotationParser.php
@psalm-param class-string $className @psalm-param non-empty-string $methodName
AttributeAutoconfigurationPass::process in vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php
You can modify the container here before it is dumped to PHP code.
ClassTagRetriever::getTagList in vendor/phpspec/prophecy/src/Prophecy/PhpDocumentor/ClassTagRetriever.php
Clover::process in vendor/phpunit/php-code-coverage/src/Report/Clover.php

... See full list

File

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

Namespace

PhpParser\Node\Scalar\MagicConst
View source
class Method extends MagicConst {
    public function getName() : string {
        return '__METHOD__';
    }
    public function getType() : string {
        return 'Scalar_MagicConst_Method';
    }

}

Members

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

API Navigation

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