]> _ Git - cubist_util.git/commitdiff
wip #5408
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 22 Aug 2022 14:48:55 +0000 (16:48 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 22 Aug 2022 14:48:55 +0000 (16:48 +0200)
src/Data.php

index 91275b3afcfd91cd76a305dd219f8cd924fe866d..c7dec75385c6b20637891e422837ad1fa9fae667 100644 (file)
@@ -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;