System/Facade/RequestHandler.php
/**
     * Registers post calls into <b>$callStack</b>
     * @param string $controller
     * @param string $controllerMethod
     * @throws \InvalidArgumentException
     */
Registers post calls into $callStack
@param string $controller
@param string $controllerMethod
@throws \InvalidArgumentException
Registers post calls into $callStack @param string $controller @param string $controllerMethod @throws \ InvalidArgumentException
public function post($controller, $controllerMethod = 'main'){
        if(!is_string($controllerMethod) || !is_string($controller)){
            throw new \InvalidArgumentException('RquestHandler post method expects its parameters as string');
        }
        if(empty($controller) || empty($controllerMethod)){
            throw new \InvalidArgumentException('RquestHandler post method expects its parameters not to be null');
        }
        $call = array('callName'=>'post','controllerName'=>$controller, 'controllerMethod'=>$controllerMethod);
        $this->callStack->append($call);
    }
public function post ( $ controller , $ controllerMethod = 'main' ) { if ( ! is_string ( $ controllerMethod ) || ! is_string ( $ controller ) ) { throw new \ InvalidArgumentException ( 'RquestHandler post method expects its parameters as string' ) ; } if ( empty ( $ controller ) || empty ( $ controllerMethod ) ) { throw new \ InvalidArgumentException ( 'RquestHandler post method expects its parameters not to be null' ) ; } $ call = array ( 'callName' => 'post' , 'controllerName' => $ controller , 'controllerMethod' => $ controllerMethod ) ; $ this -> callStack -> append ( $ call ) ; }
Registers post calls into <b>$callStack</b>
 @param string $controller
 @param string $controllerMethod
 @throws \InvalidArgumentException
Registers post calls into <b > $callStack< / b > @param string $controller @param string $controllerMethod @throws \ InvalidArgumentException