Example
has-secrets.php
use Meteorack\SDK\Traits\HasSecrets;
class My_Module implements ModuleInterface {
use HasSecrets;
public function boot(): void {
$key = $this->secrets->get('api_key');
}
}use Meteorack\SDK\Traits\HasSecrets;
class My_Module implements ModuleInterface {
use HasSecrets;
public function boot(): void {
$key = $this->secrets->get('api_key');
}
}