Extract Class refactoring example in PHP



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:

And the specific commit of these changes:

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.

Nguồn: https://svdpch.org/

Xem thêm bài viết khác: https://svdpch.org/cong-nghe/

1 thought on “Extract Class refactoring example in PHP”

Leave a Comment