public function DefinitionDecorator::setClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/DefinitionDecorator.php \Symfony\Component\DependencyInjection\DefinitionDecorator::setClass()
Sets the service class.
Parameters
string $class The service class:
Return value
Definition The current instance
Overrides Definition::setClass
File
- vendor/
symfony/ dependency-injection/ DefinitionDecorator.php, line 62
Class
- DefinitionDecorator
- This definition decorates another definition.
Namespace
Symfony\Component\DependencyInjectionCode
public function setClass($class) {
$this->changes['class'] = true;
return parent::setClass($class);
}