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

Breadcrumb

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

function MethodNode::useParentCode

Return value

void

File

vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/MethodNode.php, line 238

Class

MethodNode
Method node.

Namespace

Prophecy\Doubler\Generator\Node

Code

public function useParentCode() {
    $this->code = sprintf('return parent::%s(%s);', $this->getName(), implode(', ', array_map(array(
        $this,
        'generateArgument',
    ), $this->arguments)));
}

API Navigation

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