PHP 트레잇 Acacha\Llum\Traits\Serve

파일 보기 프로젝트 열기: acacha/llum

공개 메소드들

메소드 설명
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