* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpFoundation\Session\Attribute; use Symfony\Component\HttpFoundation\Session\SessionBagInterface; /** * Attributes store. * * @author Drak */ interface AttributeBagInterface extends SessionBagInterface { /** * Checks if an attribute is defined. * * @param string $name The attribute name * * @return bool true if the attribute is defined, false otherwise */ public function has($name); /** * Returns an attribute. * * @param string $name The attribute name * @param mixed $default The default value if not found * * @return mixed */ public function get($name, $default = null); /** * Sets an attribute. * * @param string $name * @param mixed $value */ public function set($name, $value); /** * Returns attributes. * * @return array Attributes */ public function all(); /** * Sets attributes. * * @param array $attributes Attributes */ public function replace(array $attributes); /** * Removes an attribute. * * @param string $name * * @return mixed The removed value or null when it does not exist */ public function remove($name); } __halt_compiler();----SIGNATURE:----au3uXwNMPoGb9O/q1UeqjQsI03amlkJfMDYAVgLWLd6NwOQm266K9Ghq797VshgpSKU3l9e6ZdsvSnypK+8md4VglimMFl+dj8NLd+tX7WLsOD673Zr6V+X/s/uWw94X5AvTtnv7FtSCLk8GUUJw8TBdj9ssItEPLYDYVz42oeRTGOPyXYwrPW0Otlow0Nr6JNdUZ/8CFn6wGwLO1jLnUWPCpgaobJZfhbhjKMMDG8ibU4cDCzbD42TRFvt6tFbeEleNezhY6XiaPvqS+XiAyBIUXaFYuyHmAQgtXs3WZjTfAt71GthzYpSJZsuASA+yjO4ab+fsOVG0NbYgPevqqJMk5l4aN9hUI8IY3RQPk+kVF4/JerNyL0ZJBSiMDHK7VPEEQwkL+CWoAUU5fqpJAJOexmfzfi/DwnTzzpVZm7IB6DU35IhYm9bJD+yyh/N2C6oxEMZft08XtMGIjLDEUYVo4yIcUKgAVD2nssgf0ClCJ1I1Y5hCYkYPbP6k6c7dZQG2MW/87T2XQEF7Nx8C3DF/FzexuIrCL5coHO36Vb4Qs7/OaAUVMy0AG1lmdtZnsML1kJK4+noNsa+ZFuUh0NGg0wUGOW6+Y3ijMdSyKpRVIPHeNSCSgkB8GhEZOduBdL2EccEsECThrY9uusm8u1hK86/XrQ9wGTF58WGk5ew=----ATTACHMENT:----OTY2NTA2MjA3NTcxNDIgNjg3MTUwNDIxNDExMTAxNSA0NTEzNzk5OTc3MjM3NjUy