You are here

public function RefineableCompilerContextInterface::setOption in Compiler 1.0.x

Set a specific option to use for this context.

Parameters

string $name: The name of the option to set.

mixed $value: The value to set for the option.

Return value

static The object itself for chaining.

1 method overrides RefineableCompilerContextInterface::setOption()
RefineableCompilerContext::setOption in src/RefineableCompilerContext.php
Set a specific option to use for this context.

File

src/RefineableCompilerContextInterface.php, line 50

Class

RefineableCompilerContextInterface
A refineable compiler context interface.

Namespace

Drupal\compiler

Code

public function setOption(string $name, $value) : self;