mirror of
https://github.com/elyby/accounts.git
synced 2024-12-28 08:00:25 +05:30
22 lines
396 B
PHP
22 lines
396 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace api\models\base;
|
|
|
|
use common\models\Account;
|
|
|
|
class BaseAccountForm extends ApiForm {
|
|
|
|
private Account $account;
|
|
|
|
public function __construct(Account $account, array $config = []) {
|
|
parent::__construct($config);
|
|
$this->account = $account;
|
|
}
|
|
|
|
public function getAccount(): Account {
|
|
return $this->account;
|
|
}
|
|
|
|
}
|