return $viewHelperInstance;
}
} else {
- $this->viewHelpersByPositionAndContext[$uniqueCounter] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\ObjectStorage');
+ $this->viewHelpersByPositionAndContext[$uniqueCounter] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage');
$viewHelperInstance = self::$objectContainer->getInstance($viewHelperName);
if ($viewHelperInstance instanceof \TYPO3\CMS\Core\SingletonInterface) {
$viewHelperInstance->resetState();
/**
* Generic interceptors registered with the configuration.
*
- * @var array<\TYPO3\CMS\Extbase\Persistence\Generic\ObjectStorage>
+ * @var array<\TYPO3\CMS\Extbase\Persistence\ObjectStorage>
*/
protected $interceptors = array();
public function addInterceptor(\TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface $interceptor) {
foreach ($interceptor->getInterceptionPoints() as $interceptionPoint) {
if (!isset($this->interceptors[$interceptionPoint])) {
- $this->interceptors[$interceptionPoint] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\ObjectStorage');
+ $this->interceptors[$interceptionPoint] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage');
}
if (!$this->interceptors[$interceptionPoint]->contains($interceptor)) {
$this->interceptors[$interceptionPoint]->attach($interceptor);
* Returns all interceptors for a given Interception Point.
*
* @param integer $interceptionPoint one of the Tx_Fluid_Core_Parser_InterceptorInterface::INTERCEPT_* constants,
- * @return \TYPO3\CMS\Extbase\Persistence\Generic\ObjectStorage<Tx_Fluid_Core_Parser_InterceptorInterface>
+ * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<Tx_Fluid_Core_Parser_InterceptorInterface>
*/
public function getInterceptors($interceptionPoint) {
- if (isset($this->interceptors[$interceptionPoint]) && $this->interceptors[$interceptionPoint] instanceof \TYPO3\CMS\Extbase\Persistence\Generic\ObjectStorage) {
+ if (isset($this->interceptors[$interceptionPoint]) && $this->interceptors[$interceptionPoint] instanceof \TYPO3\CMS\Extbase\Persistence\ObjectStorage) {
return $this->interceptors[$interceptionPoint];
}
- return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\ObjectStorage');
+ return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage');
}
}
* A mapping RenderingContext -> ViewHelper to only re-initialize ViewHelpers
* when a context change occurs.
*
- * @var \TYPO3\CMS\Extbase\Persistence\Generic\ObjectStorage
+ * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage
*/
protected $viewHelpersByContext = NULL;
*/
public function __construct(\TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper $viewHelper, array $arguments) {
$this->uninitializedViewHelper = $viewHelper;
- $this->viewHelpersByContext = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\ObjectStorage');
+ $this->viewHelpersByContext = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage');
$this->arguments = $arguments;
$this->viewHelperClassName = get_class($this->uninitializedViewHelper);
}