$dependencies Optional. Dependencies of the class. * @return T Instantiated object. * * @phpstan-param class-string $class_name Class to make an object instance out of. */ public function instantiate( string $class_name, array $dependencies = [] ); }