PHP 클래스 App\Http\Controllers\LinkedInController

상속: extends Controller
파일 보기 프로젝트 열기: unicodeveloper/laravel-hackathon-starter

보호된 프로퍼티들

프로퍼티 타입 설명
$baseUrl string LinkedIn API base Url
$client object Instance of Client
$response mixed Response from requests made to LinkedIn

공개 메소드들

메소드 설명
__construct ( ) Initialize the Controller with necessary arguments
getPage ( ) : mixed Return all data to the LinkedIn API dashboard

비공개 메소드들

메소드 설명
getData ( ) : array Get the data response from a get operation
getResponse ( ) : array Get the whole response from a get operation
setGetResponse ( string $relativeUrl ) Get the response from New York times API
setRequestOptions ( ) : void Set options for making the Client request

메소드 상세

__construct() 공개 메소드

Initialize the Controller with necessary arguments
public __construct ( )

getPage() 공개 메소드

Return all data to the LinkedIn API dashboard
public getPage ( ) : mixed
리턴 mixed

프로퍼티 상세

$baseUrl 보호되어 있는 프로퍼티

LinkedIn API base Url
protected string $baseUrl
리턴 string

$client 보호되어 있는 프로퍼티

Instance of Client
protected object $client
리턴 object

$response 보호되어 있는 프로퍼티

Response from requests made to LinkedIn
protected mixed $response
리턴 mixed