public static function classes()
    {
        $objs = array();

        foreach (get_declared_classes() as $value) {
            $value = ltrim($value, '\\');
            $cname = new \ReflectionClass($value);

            if (false === $cname->isInternal()) {
                $objs[$value] = $cname->getDefaultProperties();
            }

            $cname = null;
        }

        return $objs;
    }
public static function classes()
    {
        $objs = array();

        foreach (get_declared_classes() as $value) {
            $value = ltrim($value, '\\');
            $cname = new \ReflectionClass($value);

            if (false === $cname->isInternal()) {
                $objs[$value] = $cname->getDefaultProperties();
            }

            $cname = null;
        }

        return $objs;
    }
public static function classes ( ) { $ objs = array ( ) ; foreach ( get_declared_classes ( ) as $ value ) { $ value = ltrim ( $ value , '\\' ) ; $ cname = new \ ReflectionClass ( $ value ) ; if ( false === $ cname -> isInternal ( ) ) { $ objs [ $ value ] = $ cname -> getDefaultProperties ( ) ; } $ cname = null ; } return $ objs ; }
Get declared classes
@return array
Get declared classes