You are here

public function Alias::setPublic in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Alias.php \Symfony\Component\DependencyInjection\Alias::setPublic()

Sets if this Alias is public.

@api

Parameters

bool $boolean If this Alias should be public:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Alias.php, line 55

Class

Alias
@api

Namespace

Symfony\Component\DependencyInjection

Code

public function setPublic($boolean) {
  $this->public = (bool) $boolean;
}