protected isSupportedStreamWrapper ( string $filePath ) : boolean | ||
$filePath | string | Path of the file to be read |
Результат | boolean | Whether the given path is an supported stream wrapper |
protected function isSupportedStreamWrapper($filePath)
{
$streamScheme = $this->getStreamWrapperScheme($filePath);
return $streamScheme !== null ? in_array($streamScheme, $this->globalFunctionsHelper->stream_get_wrappers()) : true;
}