This is an example of an extract class refactoring technique written in PHP.
In software engineering, the Extract Class refactoring is applied when a class becomes overweight with too many methods and its purpose becomes unclear. Extract Class refactoring involves creating a new class and moving methods and/or data to the new class.
This video shows a part of a personal project named: ScrumMaster. You can find the source code in my GitHub account: https://github.com/Chemaclass/ScrumMaster
ScrumMaster is a tool that will notify the person assigned a JIRA-ticket if the ticket remains in the same status for more than N days.