Sets the service class.
@api
Parameters
string $class The service class:
Return value
Definition The current instance
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Definition.php, line 157
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjection
Code
public function setClass($class) {
$this->class = $class;
return $this;
}