"If someone was trying to breach the door you might. Deny as you might, if you had one and someone hellbent on destroying you, your aircraft and potentially a lot of folks on the the ground, you'd use it."
I should hope you'd wait for the door to be breached, rather than trying to fire through said bullet-proof portal?