24 lines
392 B
Plaintext
24 lines
392 B
Plaintext
|
/**
|
||
|
* Constructor.
|
||
|
*
|
||
|
* @param Table $table The Table Class.
|
||
|
*
|
||
|
* @since 3.2.1
|
||
|
*/
|
||
|
public function __construct(?Table $table = null)
|
||
|
{
|
||
|
$table ??= new Table;
|
||
|
|
||
|
parent::__construct($table);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Get the targeted component code
|
||
|
*
|
||
|
* @return string
|
||
|
* @since 3.2.1
|
||
|
*/
|
||
|
protected function getCode(): string
|
||
|
{
|
||
|
return '[[[component]]]';
|
||
|
}
|