An abstract PHP class which can be extended to create a program that accepts multiple lines of input and return output.