public function getClasses()
    {
        $ar = get_declared_classes();
        foreach ($ar as $class) {
            $c = new reflectionClass($class);
            if ($c->isUserDefined()) {
                //add only when class is user-defined
                $this->classes[$class] = new IPReflectionClass($class);
            }
        }
        ksort($this->classes);

        return $this->classes;
    }