[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class PhabricatorFactSimpleSpec extends PhabricatorFactSpec { 4 5 private $type; 6 private $name; 7 private $unit; 8 9 public function __construct($type) { 10 $this->type = $type; 11 } 12 13 public function getType() { 14 return $this->type; 15 } 16 17 public function setUnit($unit) { 18 $this->unit = $unit; 19 return $this; 20 } 21 22 public function getUnit() { 23 return $this->unit; 24 } 25 26 public function setName($name) { 27 $this->name = $name; 28 return $this; 29 } 30 31 public function getName() { 32 if ($this->name !== null) { 33 return $this->name; 34 } 35 return parent::getName(); 36 } 37 38 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |