* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Core\Exception; /** * UsernameNotFoundException is thrown if a User cannot be found by its username. * * @author Fabien Potencier * @author Alexander */ class UsernameNotFoundException extends AuthenticationException { private $username; /** * {@inheritdoc} */ public function getMessageKey() { return 'Username could not be found.'; } /** * Get the username. * * @return string */ public function getUsername() { return $this->username; } /** * Set the username. * * @param string $username */ public function setUsername($username) { $this->username = $username; } /** * {@inheritdoc} */ public function serialize() { return serialize(array( $this->username, parent::serialize(), )); } /** * {@inheritdoc} */ public function unserialize($str) { list($this->username, $parentData) = unserialize($str); parent::unserialize($parentData); } /** * {@inheritdoc} */ public function getMessageData() { return array('{{ username }}' => $this->username); } } __halt_compiler();----SIGNATURE:----IbWbpIFsJXHWO1A2g6dHL4huqdeXjD9ruMonwj52JgOMquDC++s59xu657yAdcz/HkvDQeHpnMC+/YgKGYl/GPzG3suqu8HTBuuUo9GO+ji69S3GUaIx2Q2UznjoqxTho7SzqCSd4jDs3zqaIfjMwn2/Dp4+uuu3Y0r/LdNrbo9FatwC8+3h18SNc0zjXxo6JS815UNOPEQ4E7Y/Pgc6084mmYPuUEfEbFzg2nmvKdFl4ozvBHq+4zzcHkQGM2Yl5PiYnc1ScayKdcotysdgTSjRAPc139bUqN0foS5evC+ipYAxnr0lGtRj7Le9cMUrpYftjkEvvW8YTh0ofjRdGDmiAT2GMKVo2ukOhnF6scs+BmwazqFXXDLPHnrPXj1M5rLQDDVpz670MyS2Ed6bdHceykxOOMVN3wZhB+N3hTk147F5mgPjWdF7ZQTmU92lntLbr46y2la9EmT3GA605r4m3IXL98iV+AqXm2+oriTlBL/FWLAWyG84G2Ojx8V+f9SZUGSvcPRB0hGuVOmMtkUPFBZjS8l2/tOBX+L5cFx+A5EHCphBhfapn2SGJsoURbrUe0lTFuR1ingCGqXEvCl7TFe49bYAZV5p8ho68rA4i5oAygz3tE5YAC4jp+2Fasf5R8bHWnVtdQvYWQDt3DfabZx31tC11FGg72DKqnQ=----ATTACHMENT:----OTUxOTc5ODA4NzU5MjA5MiA1MTA3NDQyMTkwODE5MDU0IDg3ODU1Njk0MTE0NTM1MTU=