Skip to content

Commit c16133e

Browse files
committed
Add supportUpdate request
1 parent 2c46b96 commit c16133e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Omnipay/Common/AbstractGateway.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,16 @@ public function supportsUnstore()
189189
return method_exists($this, 'unstore');
190190
}
191191

192+
/**
193+
* Supports Update
194+
*
195+
* @return boolean True if this gateway supports the update() method
196+
*/
197+
public function supportsUpdate()
198+
{
199+
return method_exists($this, 'update');
200+
}
201+
192202
/**
193203
* Create and initialize a request object using existing parameters from this gateway
194204
*/

0 commit comments

Comments
 (0)