Browse code

Created repository.

DoubleBastionAdmin authored on 01/03/2022 23:31:10
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,15 @@
1
+<?php
2
+
3
+namespace Phaxio;
4
+
5
+abstract class AbstractResource extends \ArrayObject
6
+{
7
+    protected $phaxio;
8
+
9
+    public function __construct($phaxio, $data = array())
10
+    {
11
+        $this->setFlags(\ArrayObject::ARRAY_AS_PROPS);
12
+        $this->phaxio = $phaxio;
13
+        $this->exchangeArray($data);
14
+    }
15
+}