Property | Type | Description | |
---|---|---|---|
$version |
Property | Type | Description | |
---|---|---|---|
$cache | CacheInterface | ||
$config | |||
$imdbID | 7 digit identifier for this person | ||
$logger | Psr\Log\LoggerInterface | ||
$months | |||
$page | |||
$pages |
Method | Description | |
---|---|---|
__construct ( |
||
imdbid ( ) : string | Retrieve the IMDB ID |
Method | Description | |
---|---|---|
buildUrl ( string $context = null ) : string | Overrideable method to build the URL used by getPage | |
debug_html ( $html ) | ||
debug_object ( $object ) | ||
debug_scalar ( $scalar ) | #---------------------------------------------------------[ Debug helpers ]--- | |
getPage ( string $context = null ) : string | Get a page from IMDb, which will be cached in memory for repeated use | |
monthNo ( $mon ) : integer | Get numerical value for month name | |
setid ( $id ) | Set and validate the IMDb ID |
public __construct ( |
||
$config | OPTIONAL override default config | |
$logger | Psr\Log\LoggerInterface | OPTIONAL override default logger |
$cache | CacheInterface | OPTIONAL override default cache |
protected debug_scalar ( $scalar ) |
protected LoggerInterface,Psr\Log $logger | ||
return | Psr\Log\LoggerInterface |