mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 12:12:43 +01:00
c896aeb62e
Summary: Apply various linter fixes. Test Plan: Unit tests + eyeballing. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12390
36 lines
732 B
PHP
36 lines
732 B
PHP
<?php
|
|
|
|
final class PhabricatorEvent extends PhutilEvent {
|
|
|
|
private $user;
|
|
private $aphrontRequest;
|
|
private $conduitRequest;
|
|
|
|
public function setUser(PhabricatorUser $user) {
|
|
$this->user = $user;
|
|
return $this;
|
|
}
|
|
|
|
public function getUser() {
|
|
return $this->user;
|
|
}
|
|
|
|
public function setAphrontRequest(AphrontRequest $aphront_request) {
|
|
$this->aphrontRequest = $aphront_request;
|
|
return $this;
|
|
}
|
|
|
|
public function getAphrontRequest() {
|
|
return $this->aphrontRequest;
|
|
}
|
|
|
|
public function setConduitRequest(ConduitAPIRequest $conduit_request) {
|
|
$this->conduitRequest = $conduit_request;
|
|
return $this;
|
|
}
|
|
|
|
public function getConduitRequest() {
|
|
return $this->conduitRequest;
|
|
}
|
|
|
|
}
|