public static function storeRequirementCreator($regex, Closure $function) { static::$_requirementCreators[$regex] = $function; }