public function getDocuments() { if ($this->documents === null) { $this->load(); } return $this->documents; }