public function DefinitionDecorator::setClass

@api

Overrides Definition::setClass

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/DefinitionDecorator.php, line 73

Class

DefinitionDecorator
This definition decorates another definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setClass($class) {
  $this->changes['class'] = true;
  return parent::setClass($class);
}