mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-06 13:35:34 +01:00
Add the toArray method on Filter
This commit is contained in:
parent
9f1d80f968
commit
0ca7436297
2 changed files with 39 additions and 26 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue