src/View/Renderer/YamlRendererFactory.php
/**
     * Create service
     *
     * @param ServiceLocatorInterface $serviceLocator
     * @return mixed
     */
Create service
@param ServiceLocatorInterface $serviceLocator
@return mixed
Create service @param ServiceLocatorInterface $serviceLocator @return mixed
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $renderer = new YamlRenderer();
        return $renderer;
    }
public function createService ( ServiceLocatorInterface $ serviceLocator ) { $ renderer = new YamlRenderer ( ) ; return $ renderer ; }
Create service
 @param ServiceLocatorInterface $serviceLocator
 @return mixed
Create service @param ServiceLocatorInterface $serviceLocator @return mixed