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

Breadcrumb

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

function ChildDefinition::setParent

Sets the Definition to inherit from.

Return value

$this

File

vendor/symfony/dependency-injection/ChildDefinition.php, line 45

Class

ChildDefinition
This definition extends another definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setParent(string $parent) : static {
    $this->parent = $parent;
    return $this;
}
RSS feed
Powered by Drupal