public function findUserByPersistenceCode($code)
    {
        $persistence = $this->findByPersistenceCode($code);

        if ($persistence)
        {
            return $persistence->getUser();
        }

        return false;
    }
public function findUserByPersistenceCode($code)
    {
        $persistence = $this->findByPersistenceCode($code);

        if ($persistence)
        {
            return $persistence->getUser();
        }

        return false;
    }
public function findUserByPersistenceCode ( $ code ) { $ persistence = $ this -> findByPersistenceCode ( $ code ) ; if ( $ persistence ) { return $ persistence -> getUser ( ) ; } return false ; }
Finds a user by persistence code.

@param  string $code

@return \Digbang\Security\Users\DefaultUser|false
Finds a user by persistence code .