PHP code example of krist4lle / lviv-it-test
1. Go to this page and download the library: Download krist4lle/lviv-it-test library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
krist4lle / lviv-it-test example snippets
use Krist4lle\DNSServiceContract;
class YourClass
{
public function __construct(
private readonly DNSServiceContract $DNSService
) {
}
public function useService() {
$records = $this->DNSService->getDNSRecords('google.com');
}
}