PHP 클래스 AppserverIo\Appserver\Core\Commands\DoctrineCommand

상속: implements AppserverIo\Appserver\Core\Commands\CommandInterface
파일 보기 프로젝트 열기: appserver-io/appserver

공개 메소드들

메소드 설명
__construct ( React\Socket\ConnectionInterface $connection, AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer ) Initializes the command with the connection and the application server instance to execute the command on.
execute ( array $params = [] ) : mixed | null Executes the command.

메소드 상세

__construct() 공개 메소드

Initializes the command with the connection and the application server instance to execute the command on.
public __construct ( React\Socket\ConnectionInterface $connection, AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer )
$connection React\Socket\ConnectionInterface The connection instance
$applicationServer AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface The application server instance

execute() 공개 메소드

Executes the command.
또한 보기: AppserverIo\Appserver\Core\Commands\CommandInterface::execute()
public execute ( array $params = [] ) : mixed | null
$params array The arguments passed to the command
리턴 mixed | null The result of the command