Creates a new context instance.
public static createInstance ( sfApplicationConfiguration $configuration, string $name = null, string $class = __CLASS__ ) : sfContext | ||
$configuration | sfApplicationConfiguration | An sfApplicationConfiguration instance |
$name | string | A name for this context (application name by default) |
$class | string | The context class to use (sfContext by default) |
return | sfContext | An sfContext instance |