public function registerAlsoLoadMethod($method, $fields) { $this->alsoLoadMethods[$method] = is_array($fields) ? $fields : array($fields); }