get(Renderer::class)); } /** * Create and return DefaultRenderingStrategy (v2) * * @param ServiceLocatorInterface $container * @param null|string $name * @param null|string $requestedName * @return DefaultRenderingStrategy */ public function createService(ServiceLocatorInterface $container, $name = null, $requestedName = null) { $requestedName = $requestedName ?: Renderer::class; return $this($container, $requestedName); } }