private function getVariationBinaryFile($originalPath, $variationName)
    {
        if ($variationName !== IORepositoryResolver::VARIATION_ORIGINAL) {
            $variationPath = $this->variationPathGenerator->getVariationPath(
                $originalPath,
                $variationName
            );
        } else {
            $variationPath = $originalPath;
        }

        return $this->ioService->loadBinaryFile($variationPath);
    }
private function getVariationBinaryFile($originalPath, $variationName)
    {
        if ($variationName !== IORepositoryResolver::VARIATION_ORIGINAL) {
            $variationPath = $this->variationPathGenerator->getVariationPath(
                $originalPath,
                $variationName
            );
        } else {
            $variationPath = $originalPath;
        }

        return $this->ioService->loadBinaryFile($variationPath);
    }
private function getVariationBinaryFile ( $ originalPath , $ variationName ) { if ( $ variationName !== IORepositoryResolver :: VARIATION_ORIGINAL ) { $ variationPath = $ this -> variationPathGenerator -> getVariationPath ( $ originalPath , $ variationName ) ; } else { $ variationPath = $ originalPath ; } return $ this -> ioService -> loadBinaryFile ( $ variationPath ) ; }
Get image variation filesystem path.

@param string $originalPath
@param string $variationName

@return \eZ\Publish\Core\IO\Values\BinaryFile

@throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException
@throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
Get image variation filesystem path .