W3cubDocs

/Symfony 4.1

ParentTrait

trait ParentTrait

Methods

$this parent(string $parent)

Sets the Definition to inherit from.

Details

final $this parent(string $parent)

Sets the Definition to inherit from.

Parameters

string $parent

Return Value

$this

Exceptions

InvalidArgumentException when parent cannot be set