/** * Get blameable fields. * * @return array */ protected function getFields() { if (!isset($this->fields)) { $this->fields = BlameableObserver::findBlameableFields($this, $this->blameable); } return $this->fields; }
/** * Get blameable fields. * * @return array */ protected function getFields() { // Abort if blameble has been disabled explicitly if ($this->blameable === false) { return false; } if (!isset($this->fields)) { $this->fields = BlameableObserver::findBlameableFields($this, $this->blameable); } return $this->fields; }