public function getAccounts() { if (is_null(self::$accounts)) self::$accounts = AccountCollection::retrieveByClient($this->getId()); return self::$accounts; }