FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
api/src/Leanlink.php at main · LeanLink/api · GitHub
LeanLink
/
api
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
api
/
src
/
Leanlink.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (19 loc) · 518 Bytes
Breadcrumbs
api
/
src
/
Leanlink.php
Copy path
File metadata and controls
24 lines (19 loc) · 518 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
namespace
Leanlink
;
use
GuzzleHttp
\
Client
;
use
Leanlink
\
Provider
\
ResourceProvider
;
use
Leanlink
\
Provider
\
TimelineProvider
;
class
Leanlink
{
public
function
__construct
(
private
Client
$
client
)
{
}
public
function
resources
(?
string
$
apiToken
=
null
):
ResourceProvider
{
return
new
ResourceProvider
(
$
this
->
client
,
$
apiToken
);
}
public
function
timeline
(?
string
$
apiToken
=
null
):
TimelineProvider
{
return
new
TimelineProvider
(
$
this
->
client
,
$
apiToken
);
}
}
Back
|
FazBrowse Home
|
New Git URL