protected function getFile($fileUri)
    {
        /* @var \oat\oatbox\filesystem\FileSystemService $fileSystemService */
        $fileSystemService     = $this->getServiceLocator()->get(\oat\oatbox\filesystem\FileSystemService::SERVICE_ID);
        $storageService        = $fileSystemService->getFileSystem(Queue::FILE_SYSTEM_ID);

        return $storageService->readStream($fileUri);
    }
protected function getFile($fileUri)
    {
        /* @var \oat\oatbox\filesystem\FileSystemService $fileSystemService */
        $fileSystemService     = $this->getServiceLocator()->get(\oat\oatbox\filesystem\FileSystemService::SERVICE_ID);
        $storageService        = $fileSystemService->getFileSystem(Queue::FILE_SYSTEM_ID);

        return $storageService->readStream($fileUri);
    }
protected function getFile ( $ fileUri ) { /* @var \oat\oatbox\filesystem\FileSystemService $fileSystemService */ $ fileSystemService = $ this -> getServiceLocator ( ) -> get ( \ oat \ oatbox \ filesystem \ FileSystemService :: SERVICE_ID ) ; $ storageService = $ fileSystemService -> getFileSystem ( Queue :: FILE_SYSTEM_ID ) ; return $ storageService -> readStream ( $ fileUri ) ; }
Gets file from URI
@param string $fileUri
@return File
Gets file from URI