1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/infrastructure/export/PhabricatorExportField.php

36 lines
553 B
PHP
Raw Normal View History

<?php
abstract class PhabricatorExportField
extends Phobject {
private $key;
private $label;
public function setKey($key) {
$this->key = $key;
return $this;
}
public function getKey() {
return $this->key;
}
public function setLabel($label) {
$this->label = $label;
return $this;
}
public function getLabel() {
return $this->label;
}
public function getTextValue($value) {
return (string)$this->getNaturalValue($value);
}
public function getNaturalValue($value) {
return $value;
}
}