Page MenuHomePhorge

PhabricatorExecFutureFileUploadSource.php
No OneTemporary

PhabricatorExecFutureFileUploadSource.php

<?php
final class PhabricatorExecFutureFileUploadSource
extends PhabricatorFileUploadSource {
private $future;
public function setExecFuture(ExecFuture $future) {
$this->future = $future;
return $this;
}
public function getExecFuture() {
return $this->future;
}
protected function newDataIterator() {
$future = $this->getExecFuture();
return id(new LinesOfALargeExecFuture($future))
->setDelimiter(null);
}
protected function getDataLength() {
return null;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Jan 19, 19:43 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1128097
Default Alt Text
PhabricatorExecFutureFileUploadSource.php (519 B)

Event Timeline