System/Facade/RequestHandler.php
/**
     * Registers a mapping fake name into <b>$map</b> to be called through the URL instead of the original name
     * @param string $fake
     * @param string $original
     * @throws \InvalidArgumentException
     */
Registers a mapping fake name into $map to be called through the URL instead of the original name
@param string $fake
@param string $original
@throws \InvalidArgumentException
Registers a mapping fake name into $map to be called through the URL instead of the original name @param string $fake @param string $original @throws \ InvalidArgumentException
public function map($fake, $original){
        if(!is_string($fake) || !is_string($original)){
            throw new \InvalidArgumentException('RquestHandler map method expects its parameters as string');
        }
        if(empty($fake) || empty($original)){
            throw new \InvalidArgumentException('RquestHandler map method expects its parameters not to be null');
        }
        $callMap = array(ucfirst(strtolower($fake)) => ucfirst(strtolower($original)));
        $this->map->append($callMap);
    }
public function map ( $ fake , $ original ) { if ( ! is_string ( $ fake ) || ! is_string ( $ original ) ) { throw new \ InvalidArgumentException ( 'RquestHandler map method expects its parameters as string' ) ; } if ( empty ( $ fake ) || empty ( $ original ) ) { throw new \ InvalidArgumentException ( 'RquestHandler map method expects its parameters not to be null' ) ; } $ callMap = array ( ucfirst ( strtolower ( $ fake ) ) => ucfirst ( strtolower ( $ original ) ) ) ; $ this -> map -> append ( $ callMap ) ; }
Registers a mapping fake name into <b>$map</b> to be called through the URL instead of the original name
 @param string $fake
 @param string $original
 @throws \InvalidArgumentException
Registers a mapping fake name into <b > $map< / b > to be called through the URL instead of the original name @param string $fake @param string $original @throws \ InvalidArgumentException