src/DependencyInjection/SilverStripe/SilverStripeServiceTrait.php
protected function getInjector()
    {
        if ($this->injector === null) {
            $this->injector = \Injector::inst();
        }

        return $this->injector;
    }
protected function getInjector()
    {
        if ($this->injector === null) {
            $this->injector = \Injector::inst();
        }

        return $this->injector;
    }
protected function getInjector ( ) { if ( $ this -> injector === null ) { $ this -> injector = \ Injector :: inst ( ) ; } return $ this -> injector ; }
Retrieves the Injector instance

@return \Injector
Retrieves the Injector instance