Airship\Engine\Continuum\Updaters\Gadget::__construct PHP Method

__construct() public method

Gadget constructor.
public __construct ( Hail $hail, array $manifest = [], Supplier $supplier = null, string $filePath = '' )
$hail Hail
$manifest array
$supplier Supplier
$filePath string
    public function __construct(Hail $hail, array $manifest = [], Supplier $supplier = null, string $filePath = '')
    {
        $this->hail = $hail;
        $this->name = $manifest['name'];
        $this->manifest = $manifest;
        $this->supplier = $supplier;
        $this->filePath = $filePath;
        $this->type = self::TYPE_GADGET;
        if (!self::$continuumLogger) {
            self::$continuumLogger = new Log();
        }
    }