You are here

public function Job::__construct in Apigee Edge 8

Job constructor.

3 calls to Job::__construct()
DeveloperCreateUpdate::__construct in src/Job/DeveloperCreateUpdate.php
DeveloperCreateUpdate constructor.
DeveloperSync::__construct in src/Job/DeveloperSync.php
DeveloperSync constructor.
UserCreateUpdate::__construct in src/Job/UserCreateUpdate.php
UserCreateUpdate constructor.
3 methods override Job::__construct()
DeveloperCreateUpdate::__construct in src/Job/DeveloperCreateUpdate.php
DeveloperCreateUpdate constructor.
DeveloperSync::__construct in src/Job/DeveloperSync.php
DeveloperSync constructor.
UserCreateUpdate::__construct in src/Job/UserCreateUpdate.php
UserCreateUpdate constructor.

File

src/Job/Job.php, line 129

Class

Job
Defines the Job class.

Namespace

Drupal\apigee_edge\Job

Code

public function __construct() {

  /** @var \Drupal\Component\Uuid\UuidInterface $uuid_service */
  $uuid_service = \Drupal::service('uuid');
  $this->id = $uuid_service
    ->generate();
}