public function getContacts() { // Only load contacts if they aren't in the buffer if (count($this->contacts) == 0) { $this->loadContacts(); } return $this->contacts; }