Beispiel #1
0
 /**
  * @param string $url
  * @param string $method
  * @param array  $postData
  * @param array  $getData
  * @return string
  */
 public static function run($url = '/', $method = 'GET', $postData = [], $getData = [])
 {
     $Input = Loader::loadInput();
     $Input->clear();
     $Input->merge('post', $postData);
     $Input->merge('get', $getData);
     return Autoloader::resolve($method, $url);
 }
Beispiel #2
0
<?php

require_once __DIR__ . '/../../vendor/autoload.php';
\Ilex\Autoloader::run(__DIR__ . '/../app/', __DIR__ . '/../runtime/');