function rx_scan_classes() { $annotations = new Alchemy\Component\Annotations\Annotations(); if (is_dir(LIB_PATH)) { rx_scan_dir($annotations, LIB_PATH); } else { echo "Error:Library directory not found on project root."; } if (is_dir(APP_PATH)) { rx_scan_dir($annotations, APP_PATH); } ClassUtil::save(); }