2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
5
- < title > Paystack PHP SDK</ title >
5
+ < title > Paystack PHP SDK</ title >
6
+
6
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
8
< base href ="../ ">
8
9
< link rel ="icon " href ="images/favicon.ico "/>
9
10
< link rel ="stylesheet " href ="css/normalize.css ">
10
11
< link rel ="stylesheet " href ="css/base.css ">
11
- < link href ="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap " rel ="stylesheet ">
12
+ < link rel ="preconnect " href ="https://fonts.gstatic.com ">
13
+ < link href ="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap " rel ="stylesheet ">
14
+ < link href ="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap " rel ="stylesheet ">
12
15
< link rel ="stylesheet " href ="css/template.css ">
13
16
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css " integrity ="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0= " crossorigin ="anonymous " />
17
+ < link rel ="
stylesheet "
href ="
https://cdn.jsdelivr.net/npm/[email protected] /themes/prism-okaidia.css "
>
18
+ < link rel ="
stylesheet "
href ="
https://cdn.jsdelivr.net/npm/[email protected] /plugins/line-numbers/prism-line-numbers.css "
>
19
+ < link rel ="
stylesheet "
href ="
https://cdn.jsdelivr.net/npm/[email protected] /plugins/line-highlight/prism-line-highlight.css "
>
14
20
< script src ="
https://cdn.jsdelivr.net/npm/[email protected] "
> </ script >
15
21
< script src ="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2 "> </ script >
16
- < script src ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js " integrity ="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk= " crossorigin ="anonymous "> </ script >
17
22
< script src ="js/search.js "> </ script >
18
23
< script defer src ="js/searchIndex.js "> </ script >
19
24
</ head >
@@ -48,30 +53,27 @@ <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Pay
48
53
Menu
49
54
</ label >
50
55
< aside class ="phpdocumentor-column -four phpdocumentor-sidebar ">
51
-
52
- < section class ="phpdocumentor-sidebar__category ">
53
- < h2 class ="phpdocumentor-sidebar__category-header "> Namespaces</ h2 >
54
- < h4 class ="phpdocumentor-sidebar__root-namespace "> < a href ="namespaces/matscode.html "> < abbr title ="\Matscode "> Matscode</ abbr > </ a > </ h4 >
55
- < ul class ="phpdocumentor-list ">
56
- < li > < a href ="namespaces/matscode-paystack.html "> < abbr title ="\Matscode\Paystack "> Paystack</ abbr > </ a > </ li >
57
- </ ul >
56
+ < section class ="phpdocumentor-sidebar__category ">
57
+ < h2 class ="phpdocumentor-sidebar__category-header "> Namespaces</ h2 >
58
+ < h4 class ="phpdocumentor-sidebar__root-namespace ">
59
+ < a href ="namespaces/matscode.html " class =""> Matscode</ a >
60
+ </ h4 >
61
+ < ul class ="phpdocumentor-list ">
62
+ < li >
63
+ < a href ="namespaces/matscode-paystack.html " class =""> Paystack</ a >
64
+
65
+ </ li >
66
+ </ ul >
67
+
58
68
</ section >
69
+ < section class ="phpdocumentor-sidebar__category ">
70
+ < h2 class ="phpdocumentor-sidebar__category-header "> Packages</ h2 >
71
+ < h4 class ="phpdocumentor-sidebar__root-namespace ">
72
+ < a href ="packages/Application.html " class =""> Application</ a >
73
+ </ h4 >
59
74
60
- < section class ="phpdocumentor-sidebar__category ">
61
- < h2 class ="phpdocumentor-sidebar__category-header "> Packages</ h2 >
62
- < h3 class ="phpdocumentor-sidebar__root-package "> < a href ="packages/Default.html "> < abbr title ="\Default "> Default</ abbr > </ a > </ h3 >
63
- < h3 class ="phpdocumentor-sidebar__root-package "> < a href ="packages/Matscode.html "> < abbr title ="\Matscode "> Matscode</ abbr > </ a > </ h3 >
64
- < ul class ="phpdocumentor-list ">
65
- < li > < a href ="packages/Matscode-Paystack.html "> < abbr title ="\Matscode\Paystack "> Paystack</ abbr > </ a > </ li >
66
- </ ul >
67
- < h3 class ="phpdocumentor-sidebar__root-package "> < a href ="packages/Paystack.html "> < abbr title ="\Paystack "> Paystack</ abbr > </ a > </ h3 >
68
- < ul class ="phpdocumentor-list ">
69
- < li > < a href ="packages/Paystack-Resources.html "> < abbr title ="\Paystack\Resources "> Resources</ abbr > </ a > </ li >
70
- < li > < a href ="packages/Paystack-Traits.html "> < abbr title ="\Paystack\Traits "> Traits</ abbr > </ a > </ li >
71
- < li > < a href ="packages/Paystack-Utility.html "> < abbr title ="\Paystack\Utility "> Utility</ abbr > </ a > </ li >
72
- </ ul >
73
75
</ section >
74
-
76
+
75
77
< section class ="phpdocumentor-sidebar__category ">
76
78
< h2 class ="phpdocumentor-sidebar__category-header "> Reports</ h2 >
77
79
< h3 class ="phpdocumentor-sidebar__root-package "> < a href ="reports/deprecated.html "> Deprecated</ a > </ h3 >
@@ -103,7 +105,7 @@ <h2 class="phpdocumentor-content__title">
103
105
< div class ="phpdocumentor-element__package ">
104
106
in package
105
107
< ul class ="phpdocumentor-breadcrumbs ">
106
- < li class ="phpdocumentor-breadcrumb "> < a href ="packages/Default .html "> Default </ a > </ li >
108
+ < li class ="phpdocumentor-breadcrumb "> < a href ="packages/Application .html "> Application </ a > </ li >
107
109
</ ul >
108
110
</ div >
109
111
@@ -113,10 +115,12 @@ <h2 class="phpdocumentor-content__title">
113
115
< aside class ="phpdocumentor-element-found-in ">
114
116
< abbr class ="phpdocumentor-element-found-in__file " title ="src/Exceptions/InvalidArgumentException.php "> < a href ="files/src-exceptions-invalidargumentexception.html "> < abbr title ="src/Exceptions/InvalidArgumentException.php "> InvalidArgumentException.php</ abbr > </ a > </ abbr >
115
117
:
116
- < span class ="phpdocumentor-element-found-in__line "> 7</ span >
117
- </ aside >
118
+ < span class ="phpdocumentor-element-found-in__line "> 5</ span >
119
+
120
+ </ aside >
118
121
119
122
123
+ < section class ="phpdocumentor-description "> </ section >
120
124
121
125
122
126
@@ -133,6 +137,68 @@ <h2 class="phpdocumentor-content__title">
133
137
134
138
135
139
140
+
141
+ < script type ="text/javascript ">
142
+ function loadExternalCodeSnippets ( line ) {
143
+ Array . prototype . slice . call ( document . querySelectorAll ( 'pre[data-src]' ) ) . forEach ( ( pre ) => {
144
+ var src = pre . getAttribute ( 'data-src' ) . replace ( / \\ / g, '/' ) ;
145
+ var extension = ( src . match ( / \. ( \w + ) $ / ) || [ , '' ] ) [ 1 ] ;
146
+ var language = 'php' ;
147
+
148
+ var code = document . createElement ( 'code' ) ;
149
+ code . className = 'language-' + language ;
150
+
151
+ pre . textContent = '' ;
152
+
153
+ pre . setAttribute ( 'data-line' , line )
154
+ code . textContent = 'Loading…' ;
155
+
156
+ pre . appendChild ( code ) ;
157
+
158
+ var xhr = new XMLHttpRequest ( ) ;
159
+
160
+ xhr . open ( 'GET' , src , true ) ;
161
+
162
+ xhr . onreadystatechange = function ( ) {
163
+ if ( xhr . readyState == 4 ) {
164
+
165
+ if ( xhr . status < 400 && xhr . responseText ) {
166
+ code . textContent = xhr . responseText ;
167
+
168
+ Prism . highlightElement ( code ) ;
169
+ }
170
+ else if ( xhr . status >= 400 ) {
171
+ code . textContent = '✖ Error ' + xhr . status + ' while fetching file: ' + xhr . statusText ;
172
+ }
173
+ else {
174
+ code . textContent = '✖ Error: File does not exist, is empty or trying to view from localhost' ;
175
+ }
176
+ }
177
+ } ;
178
+
179
+ xhr . send ( null ) ;
180
+ } ) ;
181
+ }
182
+
183
+ var modals = document . querySelectorAll ( "[data-modal]" ) ;
184
+
185
+ modals . forEach ( function ( trigger ) {
186
+ trigger . addEventListener ( "click" , function ( event ) {
187
+ //event.preventDefault();
188
+ const modal = document . getElementById ( trigger . dataset . modal ) ;
189
+ modal . classList . add ( "phpdocumentor-modal__open" ) ;
190
+ loadExternalCodeSnippets ( trigger . dataset . line )
191
+ const exits = modal . querySelectorAll ( "[data-exit-button]" ) ;
192
+ exits . forEach ( function ( exit ) {
193
+ exit . addEventListener ( "click" , function ( event ) {
194
+ event . preventDefault ( ) ;
195
+ modal . classList . remove ( "phpdocumentor-modal__open" ) ;
196
+ } ) ;
197
+ } ) ;
198
+ } ) ;
199
+ } ) ;
200
+ </ script >
201
+
136
202
</ article >
137
203
< section data-search-results class ="phpdocumentor-search-results phpdocumentor-search-results--hidden ">
138
204
< section class ="phpdocumentor-search-results__dialog ">
@@ -154,5 +220,9 @@ <h2 class="phpdocumentor-search-results__title">Search results</h2>
154
220
< script >
155
221
cssVars ( { } ) ;
156
222
</ script >
223
+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /prism.min.js "
> </ script >
224
+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /plugins/autoloader/prism-autoloader.min.js "
> </ script >
225
+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /plugins/line-numbers/prism-line-numbers.min.js "
> </ script >
226
+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /plugins/line-highlight/prism-line-highlight.min.js "
> </ script >
157
227
</ body >
158
228
</ html >
0 commit comments