/** * @param Contract $original */ protected function absorb(Contract $original) { $this->identifier = $original->getIdentifier(); $this->status = $original->getStatus(); }
/** * @param string $identifier * @param int $status * @param string $domain */ public function __construct($identifier, $status, $domain) { parent::__construct($identifier, $status); $this->domain = $domain; }
/** * @param string $identifier * @param int $status * @param string $service */ public function __construct($identifier, $status, $service) { parent::__construct($identifier, $status); $this->service = $service; }