PHP 클래스 Zend\Mvc\Service\ViewManagerFactory

상속: implements Zend\ServiceManager\FactoryInterface
파일 보기 프로젝트 열기: zendframework/zend-mvc

공개 메소드들

메소드 설명
__invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : ViewManager Create and return a view manager.
createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : ViewManager Create and return HttpViewManager.

메소드 상세

__invoke() 공개 메소드

Create and return a view manager.
public __invoke ( Interop\Container\ContainerInterface $container, string $name, array $options = null ) : ViewManager
$container Interop\Container\ContainerInterface
$name string
$options array
리턴 Zend\Mvc\View\Http\ViewManager

createService() 공개 메소드

For use with zend-servicemanager v2; proxies to __invoke().
public createService ( Zend\ServiceManager\ServiceLocatorInterface $container ) : ViewManager
$container Zend\ServiceManager\ServiceLocatorInterface
리턴 Zend\Mvc\View\Http\ViewManager