Neos.Neos/Classes/Controller/Service/AssetProxiesController.php
public function showAction(string $assetSourceIdentifier, string $assetProxyIdentifier): void
    {
        $assetSources = $this->assetSourceService->getAssetSources();
        if (!isset($assetSources[$assetSourceIdentifier])) {
            $this->throwStatus(404, 'Asset source not found');
        }

        $assetProxyRepository = $assetSources[$assetSourceIdentifier]->getAssetProxyRepository();
        $assetProxy = $assetProxyRepository->getAssetProxy($assetProxyIdentifier);
        if (!$assetProxy) {
            $this->throwStatus(404, 'Asset proxy not found');
        }

        $this->view->assign('assetProxy', $assetProxy);
    }
public function showAction(string $assetSourceIdentifier, string $assetProxyIdentifier): void
    {
        $assetSources = $this->assetSourceService->getAssetSources();
        if (!isset($assetSources[$assetSourceIdentifier])) {
            $this->throwStatus(404, 'Asset source not found');
        }

        $assetProxyRepository = $assetSources[$assetSourceIdentifier]->getAssetProxyRepository();
        $assetProxy = $assetProxyRepository->getAssetProxy($assetProxyIdentifier);
        if (!$assetProxy) {
            $this->throwStatus(404, 'Asset proxy not found');
        }

        $this->view->assign('assetProxy', $assetProxy);
    }
public function showAction ( string $ assetSourceIdentifier , string $ assetProxyIdentifier ) : void { $ assetSources = $ this -> assetSourceService -> getAssetSources ( ) ; if ( ! isset ( $ assetSources [ $ assetSourceIdentifier ] ) ) { $ this -> throwStatus ( 404 , 'Asset source not found' ) ; } $ assetProxyRepository = $ assetSources [ $ assetSourceIdentifier ] -> getAssetProxyRepository ( ) ; $ assetProxy = $ assetProxyRepository -> getAssetProxy ( $ assetProxyIdentifier ) ; if ( ! $ assetProxy ) { $ this -> throwStatus ( 404 , 'Asset proxy not found' ) ; } $ this -> view -> assign ( 'assetProxy' , $ assetProxy ) ; }
Shows a specific asset proxy

@param string $assetSourceIdentifier
@param string $assetProxyIdentifier
@return void
@throws StopActionException
@throws UnsupportedRequestTypeException
Shows a specific asset proxy