Object Oriented PHP (Lesson 3: Inheritance)
Tags: oop, php, laravel, codenewbie
Published: 2021-08-27 02:41:11


[![Twitter Follow](https://img.shields.io/twitter/follow/cleancodestudio.svg?style=social)](https://twitter.com/cleancodestudio) 

---

> _In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object or class, retaining similar implementation. Also defined as deriving new classes from existing ones such as super class or base class and then forming them into a hierarchy of classes._


### [Inheritance](https://cleancode.studio/series/object-oriented-php/episodes/3): Extending a [Classes](https://cleancode.studio/series/object-oriented-php/episodes/1) behavior and properties
- What is [inheritance](https://cleancode.studio/series/object-oriented-php/episodes/3)
- How do we implement [inheritance](https://cleancode.studio/series/object-oriented-php/episodes/3)
- What is [polymorphism](https://cleancode.studio/series/object-oriented-php/episodes/3)
- How do we implement [Polymorphism in PHP](https://cleancode.studio/series/object-oriented-php/episodes/3)
- What are [reasons we would use Inheritance](https://cleancode.studio/series/object-oriented-php/episodes/3)
- How would we implement these, more unique, but really cool [implementations of inheritance](https://cleancode.studio/series/object-oriented-php/episodes/3)
- FormRequest (Request Validation) [extends Request](https://cleancode.studio/series/object-oriented-php/episodes/3)


{% youtube 15jGTgxC8wA %}



<center>

---

### The End

---

{% user cleancodestudio %}

[Clean Code](https://cleancode.studio/clean-code)
[Java Script Design Patterns](https://cleancode.studio/design-patterns)
[Object Oriented Programming](https://cleancode.studio/series/object-oriented-php)
[JavaScript Algorithm Examples](https://cleancode.studio/algorithms)


---


[Clean Code Studio](https://cleancode.studio)
☕️ Code Tips
☕️ Career Advice
☕️ Developer Memes
<small>Shiny button, Fancy 𝗡𝗲𝘄𝘀𝗹𝗲𝘁𝘁𝗲𝗿 👇, Juicy Dev Tips...wanna join?</small> 

[![Yes, I want in! Button to go sign up for clean code studio newsletter](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f7hwc3k4pzedr59fnr9r.png)](https://cleancodestudio.paperform.co/)

<small>(Discover [50+ pages] of my personal FAANG interview notes!)</small>


---
[Follow @cleancodestudio on Twitter](https://twitter.com/cleancodestudio)
[Follow @cleancodestudio on YouTube](https://youtube.com/c/cleancodestudio)
[Follow @cleancodestudio on TikTok](https://tiktok.com/@cleancodestudio)
[Follow @cleancodestudio on Facebook](https://facebook.com/cleancodestudio)
[Follow @cleancodestudio on Instagram](https://instagram.com/cleancodestudio)
[Follow @cleancodestudio on LinkedIn](https://linkedin.com/company/cleancodestudio)
[Follow @cleancodestudio on Reddit](https://reddit.com/r/cleancodestudio)
[Follow @cleancodestudio on Dev.to](https://dev.to/cleancodestudio)
[Follow @cleancodestudio on Stack Overflow](https://stackoverflow.com/users/8541350/clean-code-studio)
[Follow @cleancodestudio packages on npm](https://npmjs.com/~zhorton999)
[Follow @cleancodestudio packages on packagist](https://packagist.org/packages/clean-code-studio)
[Star @cleancodestudio on Github](https://github.com/zhorton34)


</center>