public function Alias::__construct

Constructor.

@api

Parameters

string $id Alias identifier:

Boolean $public If this alias is public:

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Alias.php, line 30

Class

Alias
@api

Namespace

Symfony\Component\DependencyInjection

Code

public function __construct($id, $public = true) {
  $this->id = strtolower($id);
  $this->public = $public;
}