private function checkType($type)
    {
        $isInType = true;

        foreach ($this->getKeys() as $key) {
            if (gettype($key) !== $type) {
                $isInType = false;
                break;
            }
        }

        return $isInType;
    }
private function checkType($type)
    {
        $isInType = true;

        foreach ($this->getKeys() as $key) {
            if (gettype($key) !== $type) {
                $isInType = false;
                break;
            }
        }

        return $isInType;
    }
private function checkType ( $ type ) { $ isInType = true ; foreach ( $ this -> getKeys ( ) as $ key ) { if ( gettype ( $ key ) !== $ type ) { $ isInType = false ; break ; } } return $ isInType ; }
Check if an array keys are in a given variable type.

@param string $type

@return bool
Check if an array keys are in a given variable type .