From b6b12b883783d18dd8c36933f4cc65334d511b4b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 22 Aug 2022 16:48:55 +0200 Subject: [PATCH] wip #5408 --- src/Data.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Data.php b/src/Data.php index 91275b3..c7dec75 100644 --- a/src/Data.php +++ b/src/Data.php @@ -5,6 +5,10 @@ namespace Cubist\Util; use Illuminate\Support\Arr; use Illuminate\Support\Facades\App; +/** + * Data structure that allows to access it's member either by array notation, object notation or getters and setters. + * Getters are prefered because they allow to define a default value to return when the value is not set + */ class Data implements \ArrayAccess { protected $_offsetPrefix = null; -- 2.39.5