-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a stubs file for the make command
- Loading branch information
Showing
3 changed files
with
159 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
namespace DummyNamespace; | ||
|
||
use AMBERSIVE\Ardor\Interfaces\ArdorBundlerInterface; | ||
|
||
|
||
use AMBERSIVE\Ardor\Classes\ArdorBundler; | ||
use AMBERSIVE\Ardor\Models\ArdorNode; | ||
use AMBERSIVE\Ardor\Models\ArdorTransactionJson; | ||
|
||
class DummyClassBundler implements ArdorBundlerInterface { | ||
|
||
public array $config = []; | ||
public ArdorNode $ardorNode; | ||
public ArdorBundler $ardorBundler; | ||
|
||
public function __construct(array $config = []){ | ||
|
||
$this->config = $config; | ||
$this->ardorNode = new ArdorNode(data_get($config, 'nodeUrl', null)); | ||
$this->ardorBundler = new ArdorBundler($this->ardorNode); | ||
|
||
} | ||
|
||
/** | ||
* Main entry point for the bundler | ||
* | ||
* @param mixed $transaction | ||
* @return bool | ||
*/ | ||
public function run(ArdorTransactionJson $transaction):bool { | ||
|
||
return false; | ||
|
||
} | ||
|
||
} |