some weird bug
This commit is contained in:
parent
e47b6d3400
commit
4ba1809871
@ -13,17 +13,17 @@ abstract class Document {
|
|||||||
private ?string $activeView;
|
private ?string $activeView;
|
||||||
|
|
||||||
public function __construct(User $user, $headClass, $bodyClass, ?string $view = NULL) {
|
public function __construct(User $user, $headClass, $bodyClass, ?string $view = NULL) {
|
||||||
|
$this->user = $user;
|
||||||
$this->head = new $headClass($this);
|
$this->head = new $headClass($this);
|
||||||
$this->body = new $bodyClass($this);
|
$this->body = new $bodyClass($this);
|
||||||
$this->user = $user;
|
|
||||||
$this->databaseRequired = true;
|
$this->databaseRequired = true;
|
||||||
$this->activeView = $view;
|
$this->activeView = $view;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getHead() { return $this->head; }
|
public function getHead(): Head { return $this->head; }
|
||||||
public function getBody() { return $this->body; }
|
public function getBody(): Body { return $this->body; }
|
||||||
public function getSQL() { return $this->user->getSQL(); }
|
public function getSQL(): ?\Driver\SQL\SQL { return $this->user->getSQL(); }
|
||||||
public function getUser() { return $this->user; }
|
public function getUser(): User { return $this->user; }
|
||||||
|
|
||||||
public function getView() : ?View {
|
public function getView() : ?View {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user