protected function isSupportedStreamWrapper($filePath) { $streamScheme = $this->getStreamWrapperScheme($filePath); return $streamScheme !== null ? in_array($streamScheme, $this->globalFunctionsHelper->stream_get_wrappers()) : true; }