From 3c411895ceb18f3085616a3ef4ff6af5190b1cb9 Mon Sep 17 00:00:00 2001 From: Angel Guevara Date: Sat, 21 Jul 2018 05:31:56 -0500 Subject: [PATCH] fix overriding active record implementations of fields() and extraFields() (#22) --- src/hal/EmbeddableTrait.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/hal/EmbeddableTrait.php b/src/hal/EmbeddableTrait.php index 0d32204..a8b4212 100644 --- a/src/hal/EmbeddableTrait.php +++ b/src/hal/EmbeddableTrait.php @@ -17,6 +17,16 @@ trait EmbeddableTrait { use ArrayableTrait; + /** + * @inheritdoc + */ + public abstract function fields(); + + /** + * @inheritdoc + */ + public abstract function extraFields(); + /** * @inheritdoc */