mirror of
https://github.com/NamelessMC/Nameless
synced 2026-08-18 06:29:04 -04:00
* Create StyleCI config file * Disable `phpdoc_separation` * Apply fixes from StyleCI (#3476) Co-authored-by: StyleCI Bot <bot@styleci.io> * style: styleci fixes --------- Co-authored-by: StyleCI Bot <bot@styleci.io> Co-authored-by: Sam <samerton@users.noreply.github.com>
21 lines
469 B
PHP
21 lines
469 B
PHP
<?php
|
|
|
|
class IntegrationData
|
|
{
|
|
public int $id;
|
|
public string $name;
|
|
public bool $enabled;
|
|
public bool $can_unlink;
|
|
public bool $required;
|
|
public int $order;
|
|
|
|
public function __construct(object $row)
|
|
{
|
|
$this->id = $row->id;
|
|
$this->name = $row->name;
|
|
$this->enabled = $row->enabled;
|
|
$this->can_unlink = $row->can_unlink;
|
|
$this->required = $row->required;
|
|
$this->order = $row->order;
|
|
}
|
|
}
|