You are here

public function SecurityReview::getServerUid in Security Review 8

Returns the UID of the web server.

Return value

int UID of the web server's user.

File

src/SecurityReview.php, line 315

Class

SecurityReview
A class containing static methods regarding the module's configuration.

Namespace

Drupal\security_review

Code

public function getServerUid() {
  return $this->state
    ->get('security_review.server.uid');
}