FluidTYPO3\Vhs\ViewHelpers\Media\Image\AbstractImageInfoViewHelper::initializeArguments PHP Метод

initializeArguments() публичный Метод

Initialize arguments.
public initializeArguments ( ) : void
Результат void
    public function initializeArguments()
    {
        $this->registerArgument('src', 'mixed', 'Path to or id of the image file to determine info for. In case a FileReference is supplied, ' . 'treatIdAsUid and treatIdAsReference will automatically be activated.', true);
        $this->registerArgument('treatIdAsUid', 'boolean', 'If TRUE, the path argument is treated as a resource uid.');
        $this->registerArgument('treatIdAsReference', 'boolean', 'If TRUE, the path argument is treated as a reference uid and will be resolved to a resource via ' . 'sys_file_reference.', false, false);
    }