PHP - avoid many on-demand imports
As N.B. mentioned in their comment - why are you implementing a module method if we already have lazy loading via autoloading? I've even written a class that you can simply attach and not have to worry about loading your classes. Now, there are better autoloaders out there - like Symphony's ClassLoader/autoload.php. Anyways, here's your code, with my LazyLoader class handling the loading of methods (untested code). 

/LazyLoader.php


/**
 * LazyLoader
 * A fast, strict lazy loader (time ~ 0.0001)
 * 
 * Class name must match File name.
 * If class has namespace, must be called via namespace.
 *
 * @author Juan L. Sanchez &lt;juanleonardosanchez.com&gt;
 * @license MIT
 * @version 1.2.0
 * @internal 06.26.2013
 */

Namespace LazyLoader;

class LazyLoader{
    public static $dirRoot;

    public static function autoload($class_name){
        $file = dirname(__FILE__) . 
                (strlen(self::$dirRoot) &gt; 0 ? self::$dirRoot : "") . 
                '/' . array_pop(explode("\\", $class_name)) . '.php';

        file_exists($file) ? require_once($file) : "";
    }

    public static function SetBaseDirectory($directory_root){
        self::$dirRoot = substr($directory_root, -1) == "\\" ? 
                         substr($directory_root, 0, -1) : "";
    }

    public static function Register(){
        return spl_autoload_register(__NAMESPACE__ .'\LazyLoader::autoload');
    }
}

$LazyLoader = new LazyLoader;
$LazyLoader-&gt;SetBaseDirectory("Classes"); # Optional
$LazyLoader-&gt;Register();


/Context.php

&lt;?php
module('sys/ProtoContext');

class Context extends ProtoContext {

    protected function getAuth() {
        return new MyAuth();
    }

    protected function getUsersDao() {
        return new MysqlDao('users');
    }

    protected function getRolesDao() {
        return new MysqlDao('roles');
    }

    /*
     * 5-10 more similar methods 'getSomethingDao'    
     * each including MysqlDao via method 'module'
     */

    protected function getLinksCViewDao() {
        return new MysqlDao('linksc_view');
    }

}


The directory structure of the above code would look something like:

/LazyLoader.php
/Context.php
/Classes/MyAuth.php
/Classes/ProtoContext.php
/Classes/MysqlDao.php