public function Definition::setPublic in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Definition.php \Symfony\Component\DependencyInjection\Definition::setPublic()
Sets the visibility of this service.
Parameters
bool $boolean:
Return value
Definition The current instance
1 call to Definition::setPublic()
- DefinitionDecorator::setPublic in vendor/
symfony/ dependency-injection/ DefinitionDecorator.php - Sets the visibility of this service.
1 method overrides Definition::setPublic()
- DefinitionDecorator::setPublic in vendor/
symfony/ dependency-injection/ DefinitionDecorator.php - Sets the visibility of this service.
File
- vendor/
symfony/ dependency-injection/ Definition.php, line 572
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjectionCode
public function setPublic($boolean) {
$this->public = (bool) $boolean;
return $this;
}