public function validateKeys($_)
    {
        $keys = $this->getKeyArguments(func_get_args());

        if (! $this->hasKey($keys)) {
            throw new KeyNotFoundException(
                sprintf(
                    _('The configuration key %1$s does not exist.'),
                    implode('->', $keys)
                )
            );
        }

        return $keys;
    }
public function validateKeys($_)
    {
        $keys = $this->getKeyArguments(func_get_args());

        if (! $this->hasKey($keys)) {
            throw new KeyNotFoundException(
                sprintf(
                    _('The configuration key %1$s does not exist.'),
                    implode('->', $keys)
                )
            );
        }

        return $keys;
    }
public function validateKeys ( $ _ ) { $ keys = $ this -> getKeyArguments ( func_get_args ( ) ) ; if ( ! $ this -> hasKey ( $ keys ) ) { throw new KeyNotFoundException ( sprintf ( _ ( 'The configuration key %1$s does not exist.' ) , implode ( '->' , $ keys ) ) ) ; } return $ keys ; }
Validate a set of keys to make sure they exist.

@since 0.1.13

@param string|array $_ List of keys.

@return array List of keys.
@throws KeyNotFoundException If an unknown key is requested.
Validate a set of keys to make sure they exist .