Esempio n. 1
0
 /**
  * Blob constructor.
  * @param string $filename ASCII-only filename
  * @param \SplFileInfo $file
  * @param string $mimeType
  */
 public function __construct($filename, $file, $mimeType)
 {
     parent::__construct(null);
     $this->file = $file;
     $this->mimeType = $mimeType;
     $this->filename = $filename;
 }
  /**
   * Operation constructor.
   * @param NuxeoClient $nuxeoClient
   * @param Url $apiUrl
   * @param string $operationId
   */
  public function __construct($nuxeoClient, $apiUrl, $operationId = null) {
    parent::__construct(Constants::ENTITY_TYPE_OPERATION, $nuxeoClient);

    $this->operationId = $operationId;
    $this->apiUrl = $apiUrl;
    $this->body = new OperationBody();
  }
 /**
  * Blobs constructor.
  * @param Blob[] $blobs
  */
 public function __construct($blobs = array())
 {
     parent::__construct(null);
     $this->blobs = $blobs;
 }
 /**
  * Documents constructor.
  */
 public function __construct()
 {
     parent::__construct(Constants::ENTITY_TYPE_DOCUMENTS);
 }