<commit_before>import EmberObject from './object';
import { createInjectionHelper } from '../inject';


/**
  Creates a property that lazily looks up a service in the container. There
  are no restrictions as to what objects a service can be injected into.

  Example:

  ```javascript
  App.ApplicationRoute = Ember.Route.extend({
    authManager: Ember.inject.service('auth'),

    model: function() {<commit_msg>[DOCS] Use shorthand for inject.service example<commit_after>import EmberObject from './object';
import { createInjectionHelper } from '../inject';


/**
  Creates a property that lazily looks up a service in the container. There
  are no restrictions as to what objects a service can be injected into.

  Example:

  ```javascript
  App.ApplicationRoute = Ember.Route.extend({
    authManager: Ember.inject.service('auth'),

    model() {
{'fraction_non_alphanumeric': 0.10304449648711944, 'fraction_numerical': 0.0, 'mean_word_length': 4.029411764705882, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7477343', 'n_tokens_mistral': 237, 'n_tokens_neox': 226, 'n_words': 88}