scripts/enableSite.php

31 lines
419 B
PHP
Raw Normal View History

2021-01-21 16:58:32 -05:00
<?php
/* Init Classes */
class GetOpts
{
private $longOpts = [];
function __construct()
{
}
public function setLongOpt(string $opt, array $callback)
{
$this->longOpts[$opt] = $callback;
}
}
class CheckDomain
{
public function host(string $domain)
{
echo $domain;
}
}
CheckDomain::host('lhprojects.net');
/* Get command line options */
$args = new GetOpts;