PHP Трейт Acacha\Llum\Traits\Serve

Показать файл Открыть проект

Открытые методы

Метод Описание
configure ( ) Configure command.

Защищенные методы

Метод Описание
check_port ( integer $port = 8000, string $host = '127.0.0.1', integer $timeout = 3 ) : boolean Check if port is in use.
port ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string Obtain port.
serve ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Serve command.

Описание методов

check_port() защищенный метод

Check if port is in use.
protected check_port ( integer $port = 8000, string $host = '127.0.0.1', integer $timeout = 3 ) : boolean
$port integer
$host string
$timeout integer
Результат boolean

configure() публичный метод

Configure command.
public configure ( )

port() защищенный метод

Obtain port.
protected port ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string
$input Symfony\Component\Console\Input\InputInterface
Результат mixed | string

serve() защищенный метод

Serve command.
protected serve ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface