* * 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:----Uc/UHlb47FaknCPaFLzmsHgVR+W8KLoujC1pW9UEXovppGcjfiYEexyR7UJ24QmlkgbtBEeDWL9eGa8oJftQaeplIurYn3zwoO19DqrTrGAKUYIplP0++Dtbc3uvQULUrCligSIIDThTHyHo2n5RsI0vhvC2vx1ehSkxAosZ9lF7lIlIVNtHVYkmh7YVHco/KL9gta6Eldt1KwxgrGdn/Q4hPcpK/p845RjDFXcDRK7hqbUjZdNQKbhWW6TxBGASHgE3uakw6QTD2+4EqzGyYpJY/QDwL2k0xRtAf4CuGYmUEb+MHXYYFYwivEfHFYfwsDrEM2o3AgGWdoFLVO+J8e8eTz36048PiQWfxUUn2y47Sg5msgm1nkCb6qlxKItTUVGm9IzXAdskUBvLF5/H0zZerwOPgHh+ZbGtJ8p1Wd0/RsfXfV9YvuunoNLAqKUXXbyLOyNR8hNMbNNn/CFpSjZ2c261aqzbW1bY6v3idkk4YOhktjZLY8jYDYFHjaEdfBpO0VidOn0lSnikoJEiCzQs1oB34IoYP8DpnlCofZpdR14aeMppKjnkBVb1xkGHGZBobsrI2BfZhl8HHeg4xPEoyfRTACY7NUJ76VdQYuoKIOXHoSveRjQKlp9nhblP+OVreT67Z2kJ/F1D0CG+m3jWCN6Qe/8Oe2NcNRaKyPM=----ATTACHMENT:----NDQyODAzMjE4MzAyNzQ0NCA2ODYyNTI2OTg3MzMxMDQzIDk3OTc0MTk2MDAxMDE0MjE=