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