Njovu Joshua
Sep 2, 2018 · 1 min read

Brilliant. Wondering though why?

If BaseRepository.php implements BaseRepositoryInterface.php

then ArticlesRepository.php which extends BaseRepository.php and implements ArticleRepositoryInterface.php which AGAIN implements BaseRepositoryInterface.php

Why is it because of the Liskov Substitution Principle in SOLID??