public function getters($map) { foreach ($map as $name => $callback) { $this->_getters[$name] = $callback; } return $this; }