ZEROSPAM\Framework\SDK\Request\Arguments\Stackable\SubKeyedArrayStackableRequestArg
Class SubKeyedArrayStackableRequestArg
Implementation for arguments using Freshbooks specific format: ex. ?search[statusids][]=1&search[statusids][]=2
Synopsis
- // members
- private null|string $subKey;
- // methods
- public void __construct()
- public string getSubKey()
- public array toPrimitive()
- // Inherited methods from RequestArg
- public void __construct()
- public string getKey()
- public void toPrimitive()
- public string getSubKey()
Hierarchy
Extends
Implements
Members
private
protected
- $key — string
- $value — string
Methods
public
Inherited from ZEROSPAM\Framework\SDK\Request\Arguments\RequestArg
public
- getKey() — Key for the argument.
- getSubKey() — Possible Subkey of the argument
- toPrimitive()
History
-
2018-09-25T19:41:43+00:00 (commit #42aace4)
Author: Philippe Bouchard-Bourdeau (pbb@zerospam.ca) / Commiter: Philippe Bouchard-Bourdeau (pbb@zerospam.ca)
fix(Arguments): improved function name and documentation
-
2018-09-25T19:39:33+00:00 (commit #9d70c39)
Author: Philippe Bouchard-Bourdeau (pbb@zerospam.ca) / Commiter: Philippe Bouchard-Bourdeau (pbb@zerospam.ca)
fix(Arguments): improved type hinting
-
2018-09-25T18:57:32+00:00 (commit #43907c1)
Author: Philippe Bouchard-Bourdeau (pbb@zerospam.ca) / Commiter: Philippe Bouchard-Bourdeau (pbb@zerospam.ca)
fix(Arguments): Fixed url generation when using array with enums as values
-
2018-09-25T14:35:41+00:00 (commit #0efa70c)
Author: Philippe Bouchard-Bourdeau (pbb@zerospam.ca) / Commiter: Philippe Bouchard-Bourdeau (pbb@zerospam.ca)
feat(Arguments): Added Array Stackable argument Needed that to match IN filters of freshbooks queries They using non standard query params with the following format: ?search[statusids][]=1&search[statusids][]=2