Contao\FormCaptcha::__get PHP Méthode

__get() public méthode

Return a parameter
public __get ( string $strKey ) : mixed
$strKey string The parameter key
Résultat mixed The parameter value
    public function __get($strKey)
    {
        switch ($strKey) {
            case 'name':
                return $this->strCaptchaKey;
                break;
            case 'question':
                return $this->strQuestion;
                break;
            default:
                return parent::__get($strKey);
                break;
        }
    }