Line 268 in /var/www/coworking-noe.at/httpdocs/vendor/silverstripe/framework/src/View/ViewableData.php
259 { 260 if (is_array($data) && (empty($data) || ArrayLib::is_associative($data))) { 261 $data = new ArrayData($data); 262 } 263 264 if ($data instanceof ViewableData) { 265 return new ViewableData_Customised($this, $data); 266 } 267 268 throw new InvalidArgumentException( 269 'ViewableData->customise(): $data must be an associative array or a ViewableData instance' 270 ); 271 } 272 273 /** 274 * Return true if this object "exists" i.e. has a sensible value