From cb4036c27242efaa085a9cacd951cad0b2eeb574 Mon Sep 17 00:00:00 2001 From: Jay Potter Date: Sat, 21 Mar 2026 12:38:08 -0400 Subject: [PATCH] add beforeClone and afterClone --- src/Potter/Cloneable/CloneableTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Potter/Cloneable/CloneableTrait.php b/src/Potter/Cloneable/CloneableTrait.php index 6a9c98a..be589df 100644 --- a/src/Potter/Cloneable/CloneableTrait.php +++ b/src/Potter/Cloneable/CloneableTrait.php @@ -8,8 +8,8 @@ use \League\Event\EventDispatcher as BaseDispatcher; trait CloneableTrait { - private const string BEFORE_CLONE = 'beforeClone'; - private const string AFTER_CLONE = 'afterClone'; + public const string BEFORE_CLONE = 'beforeClone'; + public const string AFTER_CLONE = 'afterClone'; final public function clone(): static {