Browse code

removed Telnyx Plivo Twilio Flowroute appinfo/info.xml appinfo/signature.json README.md lib/Controller/AuthorApiController.php

DoubleBastionAdmin authored on 20/08/2022 16:26:33
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,38 +0,0 @@
1
-<?php
2
-
3
-namespace Telnyx;
4
-
5
-/**
6
- * Class SingletonApiResource
7
- *
8
- * @package Telnyx
9
- */
10
-abstract class SingletonApiResource extends ApiResource
11
-{
12
-    protected static function _singletonRetrieve($options = null)
13
-    {
14
-        $opts = Util\RequestOptions::parse($options);
15
-        $instance = new static(null, $opts);
16
-        $instance->refresh();
17
-        return $instance;
18
-    }
19
-
20
-    /**
21
-     * @return string The endpoint associated with this singleton class.
22
-     */
23
-    public static function classUrl()
24
-    {
25
-        // Replace dots with slashes for namespaced resources, e.g. if the object's name is
26
-        // "foo.bar", then its URL will be "/v2/foo/bar".
27
-        $base = str_replace('.', '/', static::OBJECT_NAME);
28
-        return "/v2/${base}";
29
-    }
30
-
31
-    /**
32
-     * @return string The endpoint associated with this singleton API resource.
33
-     */
34
-    public function instanceUrl()
35
-    {
36
-        return static::classUrl();
37
-    }
38
-}
Browse code

added appinfo/signature.json Telnyx Twilio Flowroute

DoubleBastionAdmin authored on 19/08/2022 13:10:24
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,38 @@
1
+<?php
2
+
3
+namespace Telnyx;
4
+
5
+/**
6
+ * Class SingletonApiResource
7
+ *
8
+ * @package Telnyx
9
+ */
10
+abstract class SingletonApiResource extends ApiResource
11
+{
12
+    protected static function _singletonRetrieve($options = null)
13
+    {
14
+        $opts = Util\RequestOptions::parse($options);
15
+        $instance = new static(null, $opts);
16
+        $instance->refresh();
17
+        return $instance;
18
+    }
19
+
20
+    /**
21
+     * @return string The endpoint associated with this singleton class.
22
+     */
23
+    public static function classUrl()
24
+    {
25
+        // Replace dots with slashes for namespaced resources, e.g. if the object's name is
26
+        // "foo.bar", then its URL will be "/v2/foo/bar".
27
+        $base = str_replace('.', '/', static::OBJECT_NAME);
28
+        return "/v2/${base}";
29
+    }
30
+
31
+    /**
32
+     * @return string The endpoint associated with this singleton API resource.
33
+     */
34
+    public function instanceUrl()
35
+    {
36
+        return static::classUrl();
37
+    }
38
+}
Browse code

removed appinfo/signature.json and Telnyx

DoubleBastionAdmin authored on 19/08/2022 12:45:59
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,38 +0,0 @@
1
-<?php
2
-
3
-namespace Telnyx;
4
-
5
-/**
6
- * Class SingletonApiResource
7
- *
8
- * @package Telnyx
9
- */
10
-abstract class SingletonApiResource extends ApiResource
11
-{
12
-    protected static function _singletonRetrieve($options = null)
13
-    {
14
-        $opts = Util\RequestOptions::parse($options);
15
-        $instance = new static(null, $opts);
16
-        $instance->refresh();
17
-        return $instance;
18
-    }
19
-
20
-    /**
21
-     * @return string The endpoint associated with this singleton class.
22
-     */
23
-    public static function classUrl()
24
-    {
25
-        // Replace dots with slashes for namespaced resources, e.g. if the object's name is
26
-        // "foo.bar", then its URL will be "/v2/foo/bar".
27
-        $base = str_replace('.', '/', static::OBJECT_NAME);
28
-        return "/v2/${base}";
29
-    }
30
-
31
-    /**
32
-     * @return string The endpoint associated with this singleton API resource.
33
-     */
34
-    public function instanceUrl()
35
-    {
36
-        return static::classUrl();
37
-    }
38
-}
Browse code

added appinfo/signature.json and Telnyx directory

DoubleBastionAdmin authored on 19/08/2022 11:38:54
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,38 @@
1
+<?php
2
+
3
+namespace Telnyx;
4
+
5
+/**
6
+ * Class SingletonApiResource
7
+ *
8
+ * @package Telnyx
9
+ */
10
+abstract class SingletonApiResource extends ApiResource
11
+{
12
+    protected static function _singletonRetrieve($options = null)
13
+    {
14
+        $opts = Util\RequestOptions::parse($options);
15
+        $instance = new static(null, $opts);
16
+        $instance->refresh();
17
+        return $instance;
18
+    }
19
+
20
+    /**
21
+     * @return string The endpoint associated with this singleton class.
22
+     */
23
+    public static function classUrl()
24
+    {
25
+        // Replace dots with slashes for namespaced resources, e.g. if the object's name is
26
+        // "foo.bar", then its URL will be "/v2/foo/bar".
27
+        $base = str_replace('.', '/', static::OBJECT_NAME);
28
+        return "/v2/${base}";
29
+    }
30
+
31
+    /**
32
+     * @return string The endpoint associated with this singleton API resource.
33
+     */
34
+    public function instanceUrl()
35
+    {
36
+        return static::classUrl();
37
+    }
38
+}
Browse code

removed Telnyx directory

DoubleBastionAdmin authored on 19/08/2022 11:12:03
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,38 +0,0 @@
1
-<?php
2
-
3
-namespace Telnyx;
4
-
5
-/**
6
- * Class SingletonApiResource
7
- *
8
- * @package Telnyx
9
- */
10
-abstract class SingletonApiResource extends ApiResource
11
-{
12
-    protected static function _singletonRetrieve($options = null)
13
-    {
14
-        $opts = Util\RequestOptions::parse($options);
15
-        $instance = new static(null, $opts);
16
-        $instance->refresh();
17
-        return $instance;
18
-    }
19
-
20
-    /**
21
-     * @return string The endpoint associated with this singleton class.
22
-     */
23
-    public static function classUrl()
24
-    {
25
-        // Replace dots with slashes for namespaced resources, e.g. if the object's name is
26
-        // "foo.bar", then its URL will be "/v2/foo/bar".
27
-        $base = str_replace('.', '/', static::OBJECT_NAME);
28
-        return "/v2/${base}";
29
-    }
30
-
31
-    /**
32
-     * @return string The endpoint associated with this singleton API resource.
33
-     */
34
-    public function instanceUrl()
35
-    {
36
-        return static::classUrl();
37
-    }
38
-}
Browse code

Created repository.

DoubleBastionAdmin authored on 01/03/2022 23:47:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,38 @@
1
+<?php
2
+
3
+namespace Telnyx;
4
+
5
+/**
6
+ * Class SingletonApiResource
7
+ *
8
+ * @package Telnyx
9
+ */
10
+abstract class SingletonApiResource extends ApiResource
11
+{
12
+    protected static function _singletonRetrieve($options = null)
13
+    {
14
+        $opts = Util\RequestOptions::parse($options);
15
+        $instance = new static(null, $opts);
16
+        $instance->refresh();
17
+        return $instance;
18
+    }
19
+
20
+    /**
21
+     * @return string The endpoint associated with this singleton class.
22
+     */
23
+    public static function classUrl()
24
+    {
25
+        // Replace dots with slashes for namespaced resources, e.g. if the object's name is
26
+        // "foo.bar", then its URL will be "/v2/foo/bar".
27
+        $base = str_replace('.', '/', static::OBJECT_NAME);
28
+        return "/v2/${base}";
29
+    }
30
+
31
+    /**
32
+     * @return string The endpoint associated with this singleton API resource.
33
+     */
34
+    public function instanceUrl()
35
+    {
36
+        return static::classUrl();
37
+    }
38
+}