<?php namespace App; trait HasHistory { public static function bootHasHistory() { static::observe(HistoryObserver::class); } }