textAlign(Field::CENTER_ALIGN); } /** * Resolve the field's value. * * @param mixed $resource * @param string|null $attribute * @return void */ public function resolve($resource, $attribute = null) { $this->displayedAs = $this->name; parent::resolve($resource, $attribute); } /** * Allow the field to be copyable to the clipboard inside Nova. * * @return $this */ public function copyable() { throw NovaException::helperNotSupported(__METHOD__, __CLASS__); } }