original_string: public function saveCopyReference($path, $copyReference)
      {
          //Path and Copy Reference cannot be null
          if (is_null($path) || is_null($copyReference)) {
              throw new Exceptions\BoxClientException("Path and Copy Reference cannot be null.");
          }
  
          //Save Copy Reference
          $response = $this->postToAPI('/files/copy_reference/save', ['path' => $path, 'copy_reference' => $copyReference]);
          $body = $response->getDecodedBody();
  
          //Response doesn't have Metadata
          if (!isset($body['metadata']) || !is_array($body['metadata'])) {
              throw new Exceptions\BoxClientException("Invalid Response.");
          }
  
          //Make and return the Model
          return ModelFactory::make($body['metadata']);
      }
code: public function saveCopyReference($path, $copyReference)
      {
          //Path and Copy Reference cannot be null
          if (is_null($path) || is_null($copyReference)) {
              throw new Exceptions\BoxClientException("Path and Copy Reference cannot be null.");
          }
  
          //Save Copy Reference
          $response = $this->postToAPI('/files/copy_reference/save', ['path' => $path, 'copy_reference' => $copyReference]);
          $body = $response->getDecodedBody();
  
          //Response doesn't have Metadata
          if (!isset($body['metadata']) || !is_array($body['metadata'])) {
              throw new Exceptions\BoxClientException("Invalid Response.");
          }
  
          //Make and return the Model
          return ModelFactory::make($body['metadata']);
      }
code_tokens: public function saveCopyReference ( $ path , $ copyReference ) { //Path and Copy Reference cannot be null if ( is_null ( $ path ) || is_null ( $ copyReference ) ) { throw new Exceptions \ BoxClientException ( "Path and Copy Reference cannot be null." ) ; } //Save Copy Reference $ response = $ this -> postToAPI ( '/files/copy_reference/save' , [ 'path' => $ path , 'copy_reference' => $ copyReference ] ) ; $ body = $ response -> getDecodedBody ( ) ; //Response doesn't have Metadata if ( ! isset ( $ body [ 'metadata' ] ) || ! is_array ( $ body [ 'metadata' ] ) ) { throw new Exceptions \ BoxClientException ( "Invalid Response." ) ; } //Make and return the Model return ModelFactory :: make ( $ body [ 'metadata' ] ) ; }
docstring: Save Copy Reference
  
  @param  string $path          Path to the file or folder to get a copy reference to
  @param  string $copyReference Copy reference returned by getCopyReference
  
  @link https://www.box.com/developers/documentation/http/documentation#files-copy_reference-save
  
  @return \Ziggeo\BoxContent\Content\BoxFileMetadata|\Ziggeo\BoxContent\Content\FolderMetadata
docstring_tokens: Save Copy Reference