src/Factory/View/Helper/DisplayNameHelperFactory.php
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $services = $serviceLocator->getServiceLocator();

        /* @var $options ViewHelperServiceOptionsInterface */
        $options = $services->get(ModuleOptions::class);

        return new DisplayName($options);
    }
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $services = $serviceLocator->getServiceLocator();

        /* @var $options ViewHelperServiceOptionsInterface */
        $options = $services->get(ModuleOptions::class);

        return new DisplayName($options);
    }
{@inheritDoc}

@return DisplayName