eZ\Publish\Core\IO\IOService::getInternalPath PHP Method

getInternalPath() public method

public getInternalPath ( $binaryFileId )
    public function getInternalPath($binaryFileId)
    {
        return $this->binarydataHandler->getUri($this->getPrefixedUri($binaryFileId));
    }

Usage Example

 public function getBinaryFileFieldTypeProcessor(IOService $binaryFileIOService)
 {
     $urlPrefix = isset($this->request) ? $this->request->getUriForPath('/') : '';
     return new FieldTypeProcessor\BinaryProcessor(sys_get_temp_dir(), $urlPrefix . $binaryFileIOService->getInternalPath('{path}'));
 }