The power of the several courts of this Commonwealth to issue attachments and to impose summary punishments for contempts of court shall be restricted to the following cases:
(1) The official misconduct of the officers of such courts respectively.
(2) Disobedience or neglect by officers, parties, jurors or witnesses of or to the lawful process of the court.
(3) The misbehavior of any person in the presence of the court, thereby obstructing the administration of justice.
Cross References. Section 4132 is referred to in sections 4133, 5337, 6304.1 of this title.