⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (705 Bytes)
Feature #96652
» test.php
Oliver Hader
, 2022-01-26 11:46
<?php
use
TYPO3\CMS\Core\Resource\Rendering\VimeoRenderer
;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
class
Test
{
public
function
execute
()
{
$renderer
=
GeneralUtility
::
makeInstance
(
VimeoRenderer
::
class
);
$otherVariable
=
$renderer
;
/*
// focussing on this declaration --> max 4 args
'TYPO3\CMS\Core\Resource\Rendering\VimeoRenderer->render' => [
'maximumNumberOfArguments' => 4,
'restFiles' => [
'Breaking-96205-RemovalOfLastRelativeToCurrentScriptRemains.rst',
],
],
*/
// types are not relevant here, just the 5th arg
$otherVariable
->
render
(
1
,
2
,
3
,
4
,
5
);
}
}
« Previous
1
2
3
4
Next »
(3-3/4)
Loading...