Skip to content

Commit

Permalink
Add caller
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Feb 23, 2023
1 parent 2c932f7 commit 8cfcb4b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/_global.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class GlobalInfo
{
public $caller;
public function __invoke()
{
$this->request = $this->caller->request();
Expand Down
1 change: 1 addition & 0 deletions src/_help.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

class Help
{
public $caller;
private $_help = [];
private $_hash = [];

Expand Down
2 changes: 2 additions & 0 deletions src/_onfinish.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

class OnFinish
{
public $caller;

public function __construct($caller)
{
$caller[FINISH] = 1;
Expand Down
2 changes: 2 additions & 0 deletions src/_phpunit.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

class PHPUnit
{
public $caller;

public function __invoke($level)
{
$this->resetPlugIn($level);
Expand Down

0 comments on commit 8cfcb4b

Please sign in to comment.