attributes['key']); $schema = $key->getSchema(); if ($schema->type->isFile() && isset($this->attributes['value'])) { return asset_static($this->attributes['value']); } elseif ($schema->type->isSelect()) { return $schema->attributes['options'][$this->attributes['value']]; } return $this->attributes['value']; } }