private static function getDataMapperInstance() { $instance = Ioc::make(get_called_class()); if (!$instance->getCollectionName()) { throw new NoCollectionNameException(); } return $instance->getDataMapper(); }