πββοΈ Allows mocking final classes in PHP.
MIT License
Requires PHP 7.1+
First, install the package using Composer:
composer require --dev nunomaduro/mock-final-classes
That's it! You can now mock final methods and classes. πββοΈ
Most of the work is done by the library dg/bypass-finals, so make sure you support the maintainer here: Donate. Thank you!
Mock Final Classes is an open-sourced software licensed under the MIT license.