public function getServiceConfig() { return array('factories' => array('Account\\Model\\Account' => function ($sm) { $account = new Account(); $account->setServiceLocator($sm); return $account; })); }