Classes List

Webfan\App\Rpc\RpcServiceProvider

 1 
 2 
 3 
 4 
 5 
 6 
 7 
 8 
 9 
 10 
 11 
 12 
 13 
 14 
 15 
 16 
 17 
 18 
 19 
 20 
 21 
 22 
 23 
 24 
 25 
 26 
 27 
 28 
 29 
 30 
 31 
 32 
 33 
 34 
 35 
 36 
 37 
 38 
 39 
 40 
 41 
 42 
 43 
 44 
 45 
 46 
 47 
 48 
 49 
 50 
 51 
 52 
 53 
 54 
 55 
 56 
 57 
 58 
 59 
 60 
 61 
 62 
 63 
 64 
 65 
 66 
 67 
 68 
 69 
 70 
 71 
 72 
 73 
 74 
 75 
 76 
 77 
 78 
 79 
 80 
 81 
 82 
 83 
 84 
 85 
 86 
 87 
 88 
 89 
 90 
 91 
 92 
 93 
 94 
 95 
 96 
 97 
 98 
 99 
 100 
 101 
 102 
 103 
 104 
 105 
 106 
 107 
 108 
 109 
 110 
 111 
 112 
 113 
 114 
 115 
 116 
 117 
 118 
 119 
 120 
 121 
 122 
 123 
 124 
 125 
 126 
 127 
 128 
 129 
 130 
 131 
 132 
 133 
 134 
 135 
 136 
 137 
 138 
 139 
 140 
 141 
 142 
 143 
 144 
 145 
 146 
 147 
 148 
 149 
 150 
 151 
 152 
 153 
 154 
 155 
 156 
 157 
 158 
 159 
 160 
 161 
 162 
 163 
 164 
 165 
 166 
 167 
 168 
 169 
 170 
 171 
 172 
 173 
 174 
 175 
 176 
 177 
 178 
 179 
 180 
 181 
 182 
 183 
 184 
 185 
 186 
 187 
 188 
 189 
 190 
 191 
 192 
 193 
 194 
 195 
 196 
 197 
 198 
 199 
 200 
 201 
 202 
 203 
 204 
 205 
 206 
 207 
 208 
 209 
 210 
 211 
 212 
 213 
 214 
 215 
 216 
 217 
 218 
 219 
<?php

namespace Webfan\App\Rpc;

class RpcServiceProvider extends \frdl\ServiceProvider
{

public function __invoke(\Psr\Container\ContainerInterface $container) : void{



  $container->set('webfan.app.rpc.auth-shield'function(\UMA\DIC\Container $c) {
    return new \Webfan\App\Rpc\AuthShield($c->get('webfan.app.shield'), $c);
 });

  
  $container->set'webfan.app.rpc.server'function(\UMA\DIC\Container $c) {
  //\frdlweb\Api\Rpc\Server\EventableServer __construct(ContainerInterface $container, int $batchLimit = null, array $config = null, bool $discovery = true)
         // $server = new \UMA\JsonRpc\Server($c, 50);
        $server = new \frdlweb\Api\Rpc\Server\EventableServer($c50, [
'schemaCacheDir' => $c->get('webfan.app.shield')->getCacheDir(). \DIRECTORY_SEPARATOR . 'json-schema-store' . \DIRECTORY_SEPARATOR,
  

]);
       $server->attach('webfan.app.rpc.auth-shield');
   
        $server->set('test'\Webfan\App\Rpc\Procedure\test::class);
$server->set('install.requirements'\Webfan\App\Rpc\Procedure\install_requirements::class);
$server->set('install.config.get'\Webfan\App\Rpc\Procedure\install_config_get::class);
$server->set('install.config.set'\Webfan\App\Rpc\Procedure\install_config_set::class);
$server->set('install.update self'\Webfan\App\Rpc\Procedure\install_update_self::class);
$server->set('mkdir'\Webfan\App\Rpc\Procedure\MkdirProcedure::class);
$server->set('install.feature.composer'\Webfan\App\Rpc\Procedure\install_feature_composer::class);
$server->set('install.feature.frdl'\Webfan\App\Rpc\Procedure\install_feature_frdl::class);
$server->set('install.installer.stub'\Webfan\App\Rpc\Procedure\install_installer_stub::class);
$server->set('frdl.project.create'\Webfan\App\Rpc\Procedure\frdl_project_create::class);
$server->set('frdl.projects.get'\Webfan\App\Rpc\Procedure\frdl_projects_get::class);
        $server->set('frdl.project.read'\Webfan\App\Rpc\Procedure\frdl_project_read::class);
        $server->set('frdl.compile'\Webfan\App\Rpc\Procedure\frdl_compile::class);
        $server->set('read'\Webfan\App\Rpc\Procedure\read::class);
        $server->set('composer.install'\Webfan\App\Rpc\Procedure\composer_install::class);
        $server->set('composer.update'\Webfan\App\Rpc\Procedure\composer_update::class);
        $server->set('composer.save'\Webfan\App\Rpc\Procedure\composer_save::class);
$server->set('composer.projects.get'\Webfan\App\Rpc\Procedure\composer_projects_get::class);
        $server->set('composer.clearcache'\Webfan\App\Rpc\Procedure\composer_clearcache::class);
        $server->set('frdl.compile.js'\Webfan\App\Rpc\Procedure\frdl_bundlejs::class);
  

        $server->set('frdl.module.configs.get'\Webfan\App\Rpc\Procedure\frdl_modules_configs_get::class);
        $server->set('frdl.config.module.get'\Webfan\App\Rpc\Procedure\frdl_module_config_get::class);
        $server->set('frdl.config.module.set'\Webfan\App\Rpc\Procedure\frdl_config_module_set::class);
        $server->set('frdl.config.module.defaults'\Webfan\App\Rpc\Procedure\frdl_config_module_defaults::class);
  
        $server->set('update.feature.frdl'\Webfan\App\Rpc\Procedure\update_feature_frdl::class);
  
  
        $server->set('install.feature.node'\Webfan\App\Rpc\Procedure\install_feature_node::class);
  
        $server->set('npm.info'\Webfan\App\Rpc\Procedure\npm_info::class);
  
  
        $server->set('frdl.config.module.get.admin'\Webfan\App\Rpc\Procedure\frdl_module_config_get_admin::class);
        $server->set('frdl.config.module.set.admin'\Webfan\App\Rpc\Procedure\frdl_module_config_set_admin::class);
  
  
  
        $server->set('admin.navlinks.get'\Webfan\App\Rpc\Procedure\admin_navlinks_get::class);
        $server->set('admin.navlinks.edit'\Webfan\App\Rpc\Procedure\admin_navlinks_edit::class);
        $server->set('admin.navlinks.create'\Webfan\App\Rpc\Procedure\admin_navlinks_new::class);
        $server->set('admin.navlinks.delete'\Webfan\App\Rpc\Procedure\admin_navlinks_delete::class);
        $server->set('project.named-routes.get'\Webfan\App\Rpc\Procedure\project_get_named_routes::class);
  
  
        $server->set('process.is.running'\Webfan\App\Rpc\Procedure\process_is_running::class);
        $server->set('pid.is.running'\Webfan\App\Rpc\Procedure\process_is_running::class);
   return $server;
   });


$container->set(\Webfan\App\Rpc\Procedure\process_is_running::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\process_is_running($c->get('webfan.app.rpc.auth-shield'), $c);
});


$container->set(\Webfan\App\Rpc\Procedure\test::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\test($c->get('webfan.app.rpc.auth-shield'), $c);
});


$container->set(\Webfan\App\Rpc\Procedure\install_requirements::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\install_requirements($c->get('webfan.app.rpc.auth-shield'), $c);
});




$container->set(\Webfan\App\Rpc\Procedure\install_config_get::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\install_config_get($c->get('webfan.app.rpc.auth-shield'), $c);
});

$container->set(\Webfan\App\Rpc\Procedure\install_config_set::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\install_config_set($c->get('webfan.app.rpc.auth-shield'), $c);
});



$container->set(\Webfan\App\Rpc\Procedure\install_update_self::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\install_update_self($c->get('webfan.app.rpc.auth-shield'), $c);
});


$container->set(\Webfan\App\Rpc\Procedure\MkdirProcedure::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\MkdirProcedure($c->get('webfan.app.rpc.auth-shield'), $c);
});



$container->set(\Webfan\App\Rpc\Procedure\install_feature_composer::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\install_feature_composer($c->get('webfan.app.rpc.auth-shield'), $c);
});



$container->set(\Webfan\App\Rpc\Procedure\install_installer_stub::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\install_installer_stub($c->get('webfan.app.rpc.auth-shield'), $c);
});


$container->set(\Webfan\App\Rpc\Procedure\install_feature_frdl::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\install_feature_frdl($c->get('webfan.app.rpc.auth-shield'), $c);
});


$container->set(\Webfan\App\Rpc\Procedure\frdl_project_create::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_project_create($c->get('webfan.app.rpc.auth-shield'), $c);
});

$container->set(\Webfan\App\Rpc\Procedure\frdl_projects_get::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_projects_get($c->get('webfan.app.rpc.auth-shield'), $c);
});

$container->set(\Webfan\App\Rpc\Procedure\frdl_project_read::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_project_read($c->get('webfan.app.rpc.auth-shield'), $c);
});


$container->set(\Webfan\App\Rpc\Procedure\read::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\read($c->get('webfan.app.rpc.auth-shield'), $c);
});

$container->set(\Webfan\App\Rpc\Procedure\composer_install::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\composer_install($c->get('webfan.app.rpc.auth-shield'), $c);
});

$container->set(\Webfan\App\Rpc\Procedure\composer_update::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\composer_update($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\frdl_compile::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_compile($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\composer_save::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\composer_save($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\composer_projects_get::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\composer_projects_get($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\composer_clearcache::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\composer_clearcache($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\frdl_bundlejs::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_bundlejs($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\frdl_modules_configs_get::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_modules_configs_get($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\frdl_module_config_get::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_module_config_get($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\frdl_config_module_set::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_config_module_set($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\frdl_config_module_defaults::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_config_module_defaults($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\update_feature_frdl::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\update_feature_frdl($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\install_feature_node::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\install_feature_node($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\npm_info::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\npm_info($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\frdl_module_config_get_admin::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_module_config_get_admin($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\frdl_module_config_set_admin::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\frdl_module_config_set_admin($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\admin_navlinks_get::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\admin_navlinks_get($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\admin_navlinks_edit::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\admin_navlinks_edit($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\admin_navlinks_new::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\admin_navlinks_new($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\admin_navlinks_delete::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\admin_navlinks_delete($c->get('webfan.app.rpc.auth-shield'), $c);
});
$container->set(\Webfan\App\Rpc\Procedure\project_get_named_routes::classfunction(\UMA\DIC\Container $c) { 
return new \Webfan\App\Rpc\Procedure\project_get_named_routes($c->get('webfan.app.rpc.auth-shield'), $c);
});
}



}