FML/Script/Builder.php
public static function getInclude($file, $namespace = null)
    {
        if (!$namespace && stripos($file, ".") === false) {
            $namespace = $file;
        }
        $file        = static::escapeText($file);
        $includeText = "#Include	{$file}";
        if ($namespace) {
            $includeText .= "	as {$namespace}";
        }
        return $includeText . "
";
    }
public static function getInclude($file, $namespace = null)
    {
        if (!$namespace && stripos($file, ".") === false) {
            $namespace = $file;
        }
        $file        = static::escapeText($file);
        $includeText = "#Include	{$file}";
        if ($namespace) {
            $includeText .= "	as {$namespace}";
        }
        return $includeText . "
";
    }
public static function getInclude ( $ file , $ namespace = null ) { if ( ! $ namespace && stripos ( $ file , "." ) === false ) { $ namespace = $ file ; } $ file = static :: escapeText ( $ file ) ; $ includeText = "#Include	{$file}" ; if ( $ namespace ) { $ includeText .= "	as {$namespace}" ; } return $ includeText . "
" ; }
Get the include command for the given file and namespace

@api
@param string $file      Include file
@param string $namespace (optional) Include namespace
@return string
Get the include command for the given file and namespace