Predis\Command\Factory::getCommandClass PHP 메소드

getCommandClass() 공개 메소드

Returns the FQN of a class that represents the specified command ID.
public getCommandClass ( string $commandID ) : string | null
$commandID string Command ID.
리턴 string | null
    public function getCommandClass($commandID)
    {
        if (isset($this->commands[$commandID = strtoupper($commandID)])) {
            return $this->commands[$commandID];
        }
    }