Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/storage/DivinerLiveSymbol.php
| Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | if (strlen($value)) { | ||||
| $this->titleSlugHash = $hash; | $this->titleSlugHash = $hash; | ||||
| } else { | } else { | ||||
| $this->titleSlugHash = null; | $this->titleSlugHash = null; | ||||
| } | } | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function attachExtends(array $extends) { | public function attachExtends(array $extends) { | ||||
| assert_instances_of($extends, 'DivinerLiveSymbol'); | assert_instances_of($extends, __CLASS__); | ||||
| $this->extends = $extends; | $this->extends = $extends; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getExtends() { | public function getExtends() { | ||||
| return $this->assertAttached($this->extends); | return $this->assertAttached($this->extends); | ||||
| } | } | ||||
| public function attachChildren(array $children) { | public function attachChildren(array $children) { | ||||
| assert_instances_of($children, 'DivinerLiveSymbol'); | assert_instances_of($children, __CLASS__); | ||||
| $this->children = $children; | $this->children = $children; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getChildren() { | public function getChildren() { | ||||
| return $this->assertAttached($this->children); | return $this->assertAttached($this->children); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines | |||||