Ejemplo n.º 1
0
 /**
  * Sets a callable able to create a Request instance.
  *
  * This is mainly useful when you need to override the Request class
  * to keep BC with an existing system. It should not be used for any
  * other purpose.
  *
  * @param callable|null $callable A PHP callable
  */
 public static function setFactory($callable)
 {
     return Symfony\Component\HttpFoundation\Request::setFactory($callable);
 }