Crummy\Phlack\WebHook\CommandInterface::get PHP Méthode

get() public méthode

public get ( string $key ) : mixed
$key string
Résultat mixed
    public function get($key);

Usage Example

Exemple #1
0
 /**
  * @param CommandInterface $command
  *
  * @return bool
  */
 public function matches(CommandInterface $command)
 {
     return $this->getCommandName() === $command->get('command');
 }
CommandInterface