We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
namespace Models; class Post extends Base {} // Usage: use Fresa\Models\Post; class Event extends Post {} // or use Fresa\Models\Post as PostModel; class Post extends PostModel {}
Do the same for Taxonomy.
Taxonomy
The text was updated successfully, but these errors were encountered:
May be able to leave a fallback deprecated class that just extends the new class. That way it could be released as a minor update.
use Fresa\Models\Post; class PostModel extends Post { // Deprecated! }
Sorry, something went wrong.
You could also use a class alias.
class_alias('Fresa\Models\Post', 'Fresa\Models\PostModel');
No branches or pull requests
Do the same for
Taxonomy
.The text was updated successfully, but these errors were encountered: