| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class FieldComponent extends DescribeLayoutComponent |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var Field |
||
| 9 | */ |
||
| 10 | protected $field = null; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param int $displayLines |
||
| 14 | * @param int $tabOrder |
||
| 15 | * @param layoutComponentType $type |
||
| 16 | * @param Field $field |
||
| 17 | */ |
||
| 18 | public function __construct($displayLines = null, $tabOrder = null, $type = null, $field = null) |
||
| 19 | { |
||
| 20 | parent::__construct($displayLines, $tabOrder, $type); |
||
| 21 | $this->field = $field; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return Field |
||
| 26 | */ |
||
| 27 | public function getField() |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param Field $field |
||
| 34 | * @return \SForce\Wsdl\FieldComponent |
||
| 35 | */ |
||
| 36 | public function setField($field) |
||
| 40 | } |
||
| 41 | } |
||
| 42 |