Problem‐solving or knowledge‐centred: the influence of philosophy on mathematics teaching