public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function setFile($file)
public function setFile($file)
Parameters
PhabricatorFile | $file |
Return
wild |
public function getFile()
public function getFile()
Return
wild |
public function setMimeType($mime_type)
public function setMimeType($mime_type)
Parameters
$mime_type |
Return
wild |
public function getMimeType()
public function getMimeType()
Return
wild |
public function setName($name)
public function setName($name)
Parameters
$name |
Return
wild |
public function getName()
public function getName()
Return
wild |
public function setByteLength($length)
public function setByteLength($length)
Parameters
$length |
Return
wild |
public function getByteLength()
public function getByteLength()
Return
wild |
public function setData($data)
public function setData($data)
Parameters
$data |
Return
wild |
public function loadData($begin, $end)
public function loadData($begin, $end)
Parameters
$begin | ||
$end |
Return
wild |
public function hasAnyMimeType($candidate_types)
public function hasAnyMimeType($candidate_types)
Parameters
array | $candidate_types |
Return
wild |
private function normalizeMimeType($mime_type)
private function normalizeMimeType($mime_type)
Parameters
$mime_type |
Return
wild |
public function isProbablyText()
public function isProbablyText()
Return
wild |
public function isProbablyJSON()
public function isProbablyJSON()
Return
wild |
public function getSnippet()
public function getSnippet()
Return
wild |
public function setSymbolMetadata($metadata)
public function setSymbolMetadata($metadata)
Parameters
array | $metadata |
Return
wild |
public function getSymbolMetadata()
public function getSymbolMetadata()
Return
wild |
public function setBlameURI($blame_uri)
public function setBlameURI($blame_uri)
Parameters
$blame_uri |
Return
wild |
public function getBlameURI()
public function getBlameURI()
Return
wild |
public function addCoverage($coverage)
public function addCoverage($coverage)
Parameters
$coverage |
Return
wild |
public function getCoverage()
public function getCoverage()
Return
wild |