public function Alias::__construct in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Alias.php \Symfony\Component\DependencyInjection\Alias::__construct()
Constructor.
@api
Parameters
string $id Alias identifier:
bool $public If this alias is public:
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Alias.php, line 30
Class
- Alias
- @api
Namespace
Symfony\Component\DependencyInjectionCode
public function __construct($id, $public = true) {
$this->id = strtolower($id);
$this->public = $public;
}