<?php /** * AUTOLOADER NAMESPACED INSIDE SUB FOLDER FILE EXAMPLE CLASS FOR PTCHM-EX.PHP FILE */ namespace nsTest\hmNsDeep; class HmTestNsDeep { public function __construct( ) { $dir = \PtcHandyMan::getDirs( 'ns' ); echo 'Class "' . __CLASS__ . '" autoloaded, namespace "' . __NAMESPACE__. '" inside subfolder example: <br> ' . $dir[ 'nsTest' ] . '/hmNsDeep - ' . basename( __FILE__ ) . '<br><br>'; } }