Add the toArray method on Filter

This commit is contained in:
Oliver Davies 2018-06-01 19:33:57 +01:00
parent 9f1d80f968
commit 0ca7436297
2 changed files with 39 additions and 26 deletions

View file

@ -236,10 +236,23 @@ class Filter
}
/**
* Return the filter properties as an array.
*
* @return array
* @deprecated toArray()
*/
public function getProperties()
{
return $this->properties;
}
/**
* Return the filter properties as an array.
*
* @return array
*/
public function toArray()
{
return $this->properties;
}
}