/**
  * @param string $path
  *
  * @return ProxyMediaInterface
  *
  * @throws MediaStorageClientProxyMediaManagerException
  * @throws \Avtonom\MediaStorageClientBundle\Exception\MediaStorageClientApiException
  */
 public function find($path)
 {
     if (empty($path)) {
         throw new MediaStorageClientProxyMediaManagerException('Path is empty');
     }
     $referenceFull = parse_url($path, PHP_URL_PATH);
     $response = $this->apiService->getMedia($referenceFull);
     $proxyMedia = $this->createFromResponse($response);
     return $proxyMedia;
 }