You are here

public function Alias::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Alias.php \Symfony\Component\DependencyInjection\Alias::__construct()

Constructor.

Parameters

string $id Alias identifier:

bool $public If this alias is public:

File

vendor/symfony/dependency-injection/Alias.php, line 25

Class

Alias

Namespace

Symfony\Component\DependencyInjection

Code

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