From: Vincent Vanwaelscappel Date: Mon, 22 Aug 2022 14:48:55 +0000 (+0200) Subject: wip #5408 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b6b12b883783d18dd8c36933f4cc65334d511b4b;p=cubist_util.git wip #5408 --- 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;