FeatureCreated::class, 'deleted' => FeatureDeleted::class, 'updated' => FeatureUpdated::class, ]; /** * The table associated with the model. * * @var string */ protected $table = Feature::TABLE; /** * The primary key associated with the table. * * @var string */ protected $primaryKey = Feature::ATTRIBUTE_ID; /** * Get name. * * @return string */ public function getName(): string { return $this->name; } /** * Determine if the feature scope is global. * * @return bool */ public function isNullScope(): bool { return $this->scope === FeatureConstants::NULL_SCOPE; } }