AloFramework documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Alo
    • Cache
    • Controller
    • Db
    • Exception
    • Session
    • Statics
    • Test
    • Validators
  • Controller
  • None
  • PHP

Classes

  • AbstractTester
  • ClassTester
  • FunctionTester
 1 <?php
 2 
 3    namespace Alo\Test;
 4 
 5    if (!defined('GEN_START')) {
 6       http_response_code(404);
 7       die();
 8    }
 9 
10    /**
11     * Tests functions for output or return values
12     *
13     * @author  Art <a.molcanovas@gmail.com>
14     * @package TestingSuite
15     */
16    class FunctionTester extends AbstractTester {
17 
18       /**
19        * Returns the callable parameter for call_user_func_array()
20        *
21        * @author Art <a.molcanovas@gmail.com>
22        * @param string $name Method name
23        * @return string
24        */
25       protected function getCallable($name) {
26          return $name;
27       }
28    }
AloFramework documentation API documentation generated by ApiGen 2.8.0