Skip to content

Commit

Permalink
Merge pull request #2 from TianLiangZhou/hotfix/event-setter-getter
Browse files Browse the repository at this point in the history
event
  • Loading branch information
TianLiangZhou authored Aug 20, 2018
2 parents 85ffd56 + 9ebafcc commit 3508471
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/Surf/Event/ServerEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,29 @@ public function setContainer(ContainerInterface $container)
$this->container = $container;
}

/**
* @return null|Server
*/
public function getServer(): Server
{
return $this->server;
}

/**
* @return int
*/
public function getFd(): int
{
return $this->fd;
}

/**
* @return int
*/
public function getWorkerId(): int
{
return $this->workerId;
}


}

0 comments on commit 3508471

Please sign in to comment.