Submit
Path:
~
/
home
/
getwphos
/
www
/
almajd14
/
wp-content
/
plugins
/
woocommerce
/
src
/
Internal
/
StockNotifications
/
Frontend
/
File Content:
SignupResult.php
<?php declare(strict_types=1); namespace Automattic\WooCommerce\Internal\StockNotifications\Frontend; use Automattic\WooCommerce\Internal\StockNotifications\Notification; /** * A class for representing the result of a signup. * * @internal */ class SignupResult { /** * The signup code. * * @var string */ private string $code; /** * The notification. * * @var Notification|null */ private ?Notification $notification; /** * Constructor. * * @param string $code The signup code. * @param Notification|null $notification The notification. */ public function __construct( string $code, ?Notification $notification = null ) { $this->code = $code; $this->notification = $notification; } /** * Get the signup code. * * @return string */ public function get_code(): string { return $this->code; } /** * Get the notification. * * @return Notification|null */ public function get_notification(): ?Notification { return $this->notification; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
FormHandlerService.php
3163 bytes
0644
NotificationManagementService.php
749 bytes
0644
ProductPageIntegration.php
7147 bytes
0644
SignupResult.php
1030 bytes
0644
SignupService.php
18271 bytes
0644
N4ST4R_ID | Naxtarrr