public function register($class, $mapper) { return $this->registerMapper($class, $mapper)->registerFinder($class, $mapper); }