PHP Class Xpressengine\Seo\Importers\TwitterCardImporter

Author: XE Developers ([email protected])
Inheritance: extends AbstractImporter
Show file Open project: xpressengine/xpressengine

Protected Properties

Property Type Description
$cuts array will be cut items name and length
$metaItems array meta items
$needHost array items of need prepend host
$username string Twitter username

Public Methods

Method Description
__construct ( FrontendHandler $frontend, Illuminate\Http\Request $request, string $username ) Constructor
exec ( array $data ) : void Execute import job

Method Details

__construct() public method

Constructor
public __construct ( FrontendHandler $frontend, Illuminate\Http\Request $request, string $username )
$frontend Xpressengine\Presenter\Html\FrontendHandler FrontendHandler instance
$request Illuminate\Http\Request Request instance
$username string twitter username

exec() public method

Execute import job
public exec ( array $data ) : void
$data array data array
return void

Property Details

$cuts protected property

will be cut items name and length
protected array $cuts
return array

$metaItems protected property

meta items
protected array $metaItems
return array

$needHost protected property

items of need prepend host
protected array $needHost
return array

$username protected property

Twitter username
protected string $username
return string