PHP Class Flarum\Api\ApiKey

Inheritance: extends Flarum\Database\AbstractModel
Datei anzeigen Open project: flarum/core Class Usage Examples

Public Properties

Property Type Description
$incrementing boolean Use a custom primary key for this model.

Protected Properties

Property Type Description
$table

Public Methods

Method Description
generate ( ) : static Generate an API key.

Method Details

generate() public static method

Generate an API key.
public static generate ( ) : static
return static

Property Details

$incrementing public_oe property

Use a custom primary key for this model.
public bool $incrementing
return boolean

$table protected_oe property

protected $table