Added documentation
This commit is contained in:
parent
8f46064430
commit
eda2f95a66
32
src/App.php
32
src/App.php
@ -56,9 +56,6 @@ use Psr\Log\LoggerInterface;
|
|||||||
*/
|
*/
|
||||||
class App
|
class App
|
||||||
{
|
{
|
||||||
private $profile_owner;
|
|
||||||
private $contact_id;
|
|
||||||
|
|
||||||
public $user;
|
public $user;
|
||||||
public $data = [];
|
public $data = [];
|
||||||
/** @deprecated 2019.09 - use App\Arguments->getArgv() or Arguments->get() */
|
/** @deprecated 2019.09 - use App\Arguments->getArgv() or Arguments->get() */
|
||||||
@ -75,6 +72,9 @@ class App
|
|||||||
public $theme_events_in_profile = true;
|
public $theme_events_in_profile = true;
|
||||||
public $queue;
|
public $queue;
|
||||||
|
|
||||||
|
private $profile_owner;
|
||||||
|
private $contact_id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var App\Mode The Mode of the Application
|
* @var App\Mode The Mode of the Application
|
||||||
*/
|
*/
|
||||||
@ -130,22 +130,44 @@ class App
|
|||||||
*/
|
*/
|
||||||
private $pConfig;
|
private $pConfig;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the profile owner ID
|
||||||
|
*
|
||||||
|
* @param int $owner_id
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
public function setProfileOwner(int $owner_id)
|
public function setProfileOwner(int $owner_id)
|
||||||
{
|
{
|
||||||
$this->profile_owner = $owner_id;
|
$this->profile_owner = $owner_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileOwner()
|
/**
|
||||||
|
* Get the profile owner ID
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getProfileOwner():int
|
||||||
{
|
{
|
||||||
return $this->profile_owner;
|
return $this->profile_owner;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the contact ID
|
||||||
|
*
|
||||||
|
* @param int $contact_id
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
public function setContactId(int $contact_id)
|
public function setContactId(int $contact_id)
|
||||||
{
|
{
|
||||||
$this->contact_id = $contact_id;
|
$this->contact_id = $contact_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getContactId()
|
/**
|
||||||
|
* Get the contact ID
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getContactId():int
|
||||||
{
|
{
|
||||||
return $this->contact_id;
|
return $this->contact_id;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user