Object-oriented Factorial of a number in PHP

Write object-oriented Program code in PHP to find the factorial of a number.