‪TYPO3CMS  11.5
TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver:
TYPO3\CMS\Extbase\Mvc\View\ViewResolverInterface

Public Member Functions

 __construct (ContainerInterface $container)
 
 setDefaultViewClass (string $defaultViewClass)
 
 resolve (string $controllerObjectName, string $actionName, string $format)
 

Private Attributes

ContainerInterface $container
 
string $defaultViewClass
 

Detailed Description

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 27 of file GenericViewResolver.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver::__construct ( ContainerInterface  $container)

Member Function Documentation

◆ resolve()

TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver::resolve ( string  $controllerObjectName,
string  $actionName,
string  $format 
)
Todo:
‪v12: Change signature to TYPO3Fluid\Fluid\View\ViewInterface when extbase ViewInterface is dropped.

Implements TYPO3\CMS\Extbase\Mvc\View\ViewResolverInterface.

Definition at line 52 of file GenericViewResolver.php.

◆ setDefaultViewClass()

TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver::setDefaultViewClass ( string  $defaultViewClass)
Parameters
string$defaultViewClass

Definition at line 44 of file GenericViewResolver.php.

References TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver\$defaultViewClass.

Member Data Documentation

◆ $container

ContainerInterface TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver::$container
private

◆ $defaultViewClass

string TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver::$defaultViewClass
private