Line 19 in /srv/users/serverpilot/apps/pagebuildr-alpha/public/vendor/silverstripe/framework/src/Core/Injector/InjectionCreator.php
10 */ 11 class InjectionCreator implements Factory 12 { 13 14 public function create($class, array $params = array()) 15 { 16 try { 17 $reflector = new ReflectionClass($class); 18 } catch (ReflectionException $e) { 19 throw new InjectorNotFoundException($e); 20 } 21 22 if (count($params)) { 23 return $reflector->newInstanceArgs($params); 24 } 25