/** * @return array */ public function getOauthStore() { static $loaded = FALSE; if($this->oauth_store == NULL && $loaded == FALSE){ error_log("AAA"); $this->oauth_store = PCMapperUserOauth::getOauthConfig($this->getIdentifier(), $this->getAccountType()); $loaded = TRUE; } return $this->oauth_store; }