Menu

## ContentProvider
in package

ContentProvider.php : 23

### Table of Contents

$contentProvider : array<string|int, mixed>
__construct() : mixed
  ContentProvider constructor.
getOriginalContentUrl() : string|null
  Returns contentProvider getOriginalContentUrl.
getPreviewImageUrl() : string|null
  Returns contentProvider getPreviewImageUrl.
isExternal() : bool
  Returns contentProvider type is 'external' or not.
isLine() : bool
  Returns contentProvider type is 'line' or not.

### Properties

#### $contentProvider

ContentProvider.php : 26
`private array<string|int, mixed> $contentProvider`

### Methods

#### __construct()

ContentProvider.php : 33

ContentProvider constructor.

`public __construct(array<string|int, mixed> $contentProvider) : mixed`

##### Parameters

$contentProvider : array<string|int, mixed>

##### Return values

mixed —

#### getOriginalContentUrl()

ContentProvider.php : 63

Returns contentProvider getOriginalContentUrl.

`public getOriginalContentUrl() : string|null`

##### Return values

string|null —

#### getPreviewImageUrl()

ContentProvider.php : 75

Returns contentProvider getPreviewImageUrl.

`public getPreviewImageUrl() : string|null`

##### Return values

string|null —

#### isExternal()

ContentProvider.php : 53

Returns contentProvider type is 'external' or not.

`public isExternal() : bool`

##### Return values

bool —

#### isLine()

ContentProvider.php : 43

Returns contentProvider type is 'line' or not.

`public isLine() : bool`

##### Return values

bool —

## Search results