public function getStack() { if ($this->hasStack()) { return static::byStack($this->stack_id)->get(); } }