original_string: public function inject($object) : void
      {
          $reflection = new \ReflectionObject($object);
  
          $this->injectProperties($reflection, $object);
          $this->injectMethods($reflection, $object);
      }
code: public function inject($object) : void
      {
          $reflection = new \ReflectionObject($object);
  
          $this->injectProperties($reflection, $object);
          $this->injectMethods($reflection, $object);
      }
code_tokens: public function inject ( $ object ) : void { $ reflection = new \ ReflectionObject ( $ object ) ; $ this -> injectProperties ( $ reflection , $ object ) ; $ this -> injectMethods ( $ reflection , $ object ) ; }
docstring: Injects dependencies in an object.
  
  Properties are injected first, then methods.
  
  @param object $object The object to inject dependencies in.
  
  @return void
docstring_tokens: Injects dependencies in an object .