‪TYPO3CMS  10.4
TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor Class Reference
Inheritance diagram for TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor:

Public Member Functions

bool assert (string $path, string $command)
 

Protected Member Functions

bool isAllowed (string $path)
 

Detailed Description

Definition at line 27 of file PharStreamWrapperInterceptor.php.

Member Function Documentation

◆ assert()

bool TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor::assert ( string  $path,
string  $command 
)

Asserts the given path of a Phar file is located in a valid path in typo3conf/ext/* of the local TYPO3 installation.

Parameters
string$path
string$command
Returns
‪bool
Exceptions
Exception

Definition at line 38 of file PharStreamWrapperInterceptor.php.

References TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor\isAllowed().

◆ isAllowed()

bool TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor::isAllowed ( string  $path)
protected
Parameters
string$path
Returns
‪bool

Definition at line 53 of file PharStreamWrapperInterceptor.php.

References TYPO3\CMS\Core\Core\Environment\getExtensionsPath().

Referenced by TYPO3\CMS\Core\IO\PharStreamWrapperInterceptor\assert().