original_string: protected function prepareInject() {
          $model = ($this->model) ? $this->model : $this->getModule() . '\Models\\' . $this->getClassName();
  
          if (is_object($model))
              $model = get_class($model);
  
          if (!class_exists($model))
              return array_merge(parent::prepareInject(), $this->getConfigInject('services'));
  
          return array_merge(parent::prepareInject(), $this->getConfigInject('services'), array(
              'model' => array(
                  'class' => $model
              ),
          ));
      }
code: protected function prepareInject() {
          $model = ($this->model) ? $this->model : $this->getModule() . '\Models\\' . $this->getClassName();
  
          if (is_object($model))
              $model = get_class($model);
  
          if (!class_exists($model))
              return array_merge(parent::prepareInject(), $this->getConfigInject('services'));
  
          return array_merge(parent::prepareInject(), $this->getConfigInject('services'), array(
              'model' => array(
                  'class' => $model
              ),
          ));
      }
code_tokens: protected function prepareInject ( ) { $ model = ( $ this -> model ) ? $ this -> model : $ this -> getModule ( ) . '\Models\\' . $ this -> getClassName ( ) ; if ( is_object ( $ model ) ) $ model = get_class ( $ model ) ; if ( ! class_exists ( $ model ) ) return array_merge ( parent :: prepareInject ( ) , $ this -> getConfigInject ( 'services' ) ) ; return array_merge ( parent :: prepareInject ( ) , $ this -> getConfigInject ( 'services' ) , array ( 'model' => array ( 'class' => $ model ) , ) ) ; }
docstring: prepares injection of classes
  @return array
docstring_tokens: prepares injection of classes