public function getUser($isForceReload = false)
    {
        if ($isForceReload || null === $this->joinOneCacheUser) {
            $mapper = new UserMapper($this->dependencyContainer->getDatabase('user'));
            $this->joinOneCacheUser = $mapper->findByKeys(array(
                'user_id' => $this->getUserId(),
            ));
        }
        
        return $this->joinOneCacheUser;
    }
public function getUser($isForceReload = false)
    {
        if ($isForceReload || null === $this->joinOneCacheUser) {
            $mapper = new UserMapper($this->dependencyContainer->getDatabase('user'));
            $this->joinOneCacheUser = $mapper->findByKeys(array(
                'user_id' => $this->getUserId(),
            ));
        }
        
        return $this->joinOneCacheUser;
    }
public function getUser ( $ isForceReload = false ) { if ( $ isForceReload || null === $ this -> joinOneCacheUser ) { $ mapper = new UserMapper ( $ this -> dependencyContainer -> getDatabase ( 'user' ) ) ; $ this -> joinOneCacheUser = $ mapper -> findByKeys ( array ( 'user_id' => $ this -> getUserId ( ) , ) ) ; } return $ this -> joinOneCacheUser ; }
Get User data object.

@param  bool $isForceReload
@return User
Get User data object .