diff --git a/view/ArrayData.php b/view/ArrayData.php index bb32c5dc5..fa4916740 100755 --- a/view/ArrayData.php +++ b/view/ArrayData.php @@ -43,7 +43,7 @@ class ArrayData extends ViewableData { * * @return array */ - public function getArray() { + public function toMap() { return $this->array; } @@ -107,4 +107,12 @@ class ArrayData extends ViewableData { function forTemplate() { return var_export($this->array, true); } + + /** + * @deprecated 3.0 Use {@link ArrayData::toMap()}. + */ + public function getArray() { + return $this->toMap(); + } + } \ No newline at end of file