23 lines
421 B
PHP
23 lines
421 B
PHP
<?php
|
|
|
|
namespace Itguild\PhpCgSelect;
|
|
|
|
class CGSelect
|
|
{
|
|
protected $driver;
|
|
|
|
public function __construct(string $selector, array $options = [])
|
|
{
|
|
$this->driver = new CGSelectDriver($selector, $options);
|
|
}
|
|
|
|
public function getJS(){
|
|
return $this->driver->getJS();
|
|
}
|
|
|
|
public static function renderCDN($version = 'latest')
|
|
{
|
|
CGSelectDriver::renderCDN($version);
|
|
}
|
|
|
|
} |