mirror of
https://gh.llkk.cc/https://github.com/CaptainCore/captaincore-manager.git
synced 2025-10-03 14:04:44 +08:00
19 lines
No EOL
454 B
PHP
19 lines
No EOL
454 B
PHP
<?php
|
|
|
|
namespace CaptainCore\Providers;
|
|
|
|
class Hoverdotcom {
|
|
|
|
public static function credentials( $record = "" ) {
|
|
$credentials = ( new \CaptainCore\Provider( "hoverdotcom" ) )->credentials();
|
|
if ( $record == "" ) {
|
|
return $credentials;
|
|
}
|
|
foreach( $credentials as $credential ) {
|
|
if ( $credential->name == $record ) {
|
|
return $credential->value;
|
|
}
|
|
}
|
|
}
|
|
|
|
} |