Bånder

MovieHandler extends Handler
in package

Table of Contents

Properties

$baseUrl  : string
$client  : Client

Methods

__construct()  : mixed
getSimilarMovies()  : mixed
getSimilarMusic()  : mixed
fetchEndpoint()  : array<string|int, mixed>|null

Properties

$baseUrl read-only

protected string $baseUrl

$client read-only

protected Client $client

Methods

__construct()

public __construct(Client $client, string $baseUrl) : mixed
Parameters
$client : Client
$baseUrl : string

getSimilarMovies()

public getSimilarMovies(string $title) : mixed
Parameters
$title : string

getSimilarMusic()

public getSimilarMusic(string $title) : mixed
Parameters
$title : string

fetchEndpoint()

protected fetchEndpoint(string $endpoint[, array<string|int, mixed> $params = [] ]) : array<string|int, mixed>|null
Parameters
$endpoint : string
$params : array<string|int, mixed> = []
Return values
array<string|int, mixed>|null

        
On this page

Search results