* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection; class Alias { private $id; private $public; private $private; /** * @param string $id Alias identifier * @param bool $public If this alias is public */ public function __construct($id, $public = true) { $this->id = (string) $id; $this->public = $public; $this->private = 2 > func_num_args(); } /** * Checks if this DI Alias should be public or not. * * @return bool */ public function isPublic() { return $this->public; } /** * Sets if this Alias is public. * * @param bool $boolean If this Alias should be public * * @return $this */ public function setPublic($boolean) { $this->public = (bool) $boolean; $this->private = false; return $this; } /** * Sets if this Alias is private. * * When set, the "private" state has a higher precedence than "public". * In version 3.4, a "private" alias always remains publicly accessible, * but triggers a deprecation notice when accessed from the container, * so that the alias can be made really private in 4.0. * * @param bool $boolean * * @return $this */ public function setPrivate($boolean) { $this->private = (bool) $boolean; return $this; } /** * Whether this alias is private. * * @return bool */ public function isPrivate() { return $this->private; } /** * Returns the Id of this alias. * * @return string The alias id */ public function __toString() { return $this->id; } } __halt_compiler();----SIGNATURE:----m8mYcKSIJt1bX96tVgGpzbOQqfKOcD4CvxCRU+eUe7q/qwMm4rHamz0/5tov+2R2lKsAHYxkEDPa5TTxqElfYzQn4yRuQlZdSbGtHD384NQootFKX5d5fisrDWdonvvG0GlVMAGw5+zeA4jezVzQJA7dIg7VyZPdTuLyS8tv4XSISISVlCcHgSHRzCTuD1wTQuzZ5B8N6a1aVi8tXQn6zYQJCLdSDaGJC1Af0l3GpWLXMEQ/12M7uAfg8JuFbRP7qSrbv/Ax3rA7H3UEknAUut4aLjm8EWvYnae0zBZNpX5X/PFEeLxNiJTxex/HbYNLbqKT67c2z9i7F7gIHtVsKISo+GGGMEQj3Rl4buw2PLyFWZVD3U5UBLEsXgdFLI7fkxPzFiIFIfF+3fDwlo4E46lvMMADhl4KCxmQT0ouGC4L7OqnLzm4e7BqtDraozK2VG72W8404Ig30czuTgWKvFYtGpi3D9E9xfP0soLMMh7bz8P8YQyZq/i42u4OEub37rfu4tER3NskL6PFGIMczkGfKnwnxU83ov47qLtvMNUhk3G2uu4LFHRC1qsnGxIesNI1zSOPBgADuawKo/exLxJ0sBgfJVKFnmja2+CDjY03fBN4oJ/3w5i0lRIyGFsoOPAONdWEtVYna82GKpEJUtikpvf/BdWez5bw3hkAKxc=----ATTACHMENT:----OTk2NTgwNTczMjgyMDgzMiAyODgyMzE1MzAzNjk4Nzk3IDYzODIxNDAzODU2NDYwNzM=