<?php  namespace App\Models;  use App\Traits\HasSlugs; use App\Traits\HasDomain; use App\Traits\HasStorage; use App\Contracts\HasMedia; use App\Enums\CategoryType; use Illuminate\Support\Str; use App\Traits\HasTranslations; use App\Traits\HasUserActivity; use App\Observers\CategoryObserver; use Illuminate\Database\Eloquent\Builder; use App\Contracts\HasSlugs as HasSlugsContract; use App\Contracts\HasDomain as HasDomainContract; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use App\Contracts\HasTranslations as HasTranslationsContract; use App\Contracts\HasUserActivity as HasUserActivityContract;  /**  * @property-read int $activities_count  */ class Category extends Model implements HasDomainContract, HasMedia, HasSlugsContract, HasTranslationsContract, HasUserActivityContract { 	use HasTranslations,HasStorage, HasUserActivity, HasSlugs, HasDomain;  	public array $translatable = ['name', 'slug'];  	protected $casts = [ 		'type' => CategoryType::class, 		'name' => 'array', 		'slug' => 'array', 		'active' => 'boolean', 	];  	protected static function initObservers(): string 	{ 		return CategoryObserver::class; 	}  	public function blogs(): HasMany{}  	public function recipes(): HasMany{}  	public function products(): HasMany{}  	public function categoryFilters(): HasMany{}  	public function filters(): BelongsToMany{}  	public function getDefaultMediaPrefix(): string{}  	public function mediaConfig(): array{}  	public function isAvailable(): bool{}  	public function scopeIncludes(Builder $query): Builder{}  	public function scopeIncludesExtra(Builder $query): Builder{}  	public function scopeAvailable(Builder $query): Builder{}  	public function getUserActivityTitle(): string{}  	public function getUserActivityUrl(): string{}  	public function scopeSearch(object $query, ?string $search = null): Builder{}  	public function setNameAttribute(?string $value): void{}  	public function setSlugAttribute(?string $value): void{}  	protected function getIncludes(): array{} }