PHP Class DOMPDFModule\Mvc\Service\ViewPdfStrategyFactory

Inheritance: implements Zend\ServiceManager\FactoryInterface
Afficher le fichier Open project: raykolbe/DOMPDFModule Class Usage Examples

Méthodes publiques

Méthode Description
createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : PdfStrategy Create and return the PDF view strategy

Method Details

createService() public méthode

Retrieves the ViewPdfRenderer service from the service locator, and injects it into the constructor for the PDF strategy.
public createService ( Zend\ServiceManager\ServiceLocatorInterface $serviceLocator ) : PdfStrategy
$serviceLocator Zend\ServiceManager\ServiceLocatorInterface
Résultat DOMPDFModule\View\Strategy\PdfStrategy