Thank you, I have learnt more about OOP in your first 2 videos than I have in many "whole" courses/books on the subject. I am not sure what it is that is different from the others, your teaching method or your explanations. Whatever it is, it is working. Thank you again. Now to continue with the rest of the videos.
I just completed Bs CS (Hons) and I always think which tutor to prefer to my friends and young students. I have found one. I'm also watching these videos. I hated PHP but as a PHP developer. I have started to understand it through your videos. Thanks Sir.
Thank you for these detailed tutorial. I have searched for a long time for some basic tutorial and finally found one with yours. Thanks again for your efforts and keep going with those :))
Hi thank you for those tutorials they are awesome. how do you set up the terminal on the right which updates after changes and provides outputs. Thanks.
PHP Storm has possibility to move windows around. The terminal does not automatically executes the code after changes. If it seems like this, probably it is because of video editing... I run the code manually in terminal. Thank you.
I have a question, why we need to set and get? I tried to put return on setYear public function setYear($year){ return $this->year = $year; } public function getYear(){ return $this->year; } echo $myCar->Setyear(2010); echo $myCar->getYear(); output: 20102010 why not exactly put return on the setYear? and why we need getYear and put the return thier? Thanks.
Purpose of the setters and getters is to run some logic before actually assign or return value. Setter accepts argument and saves the value in a property of the class. Getter returns the value of the property. If year must always be greater than 2000 you can write an if statement in setter and don't assign value if it is NOT greater than 2000. I hope this makes sense...
Thank you, I have learnt more about OOP in your first 2 videos than I have in many "whole" courses/books on the subject.
I am not sure what it is that is different from the others, your teaching method or your explanations. Whatever it is, it is working. Thank you again.
Now to continue with the rest of the videos.
Huge thanks buddy for that comment
It means a lot.
I want to post your comment on my twitter. Are you ok with that?
@@TheCodeholic Yes of course, please go ahead.
I just completed Bs CS (Hons) and I always think which tutor to prefer to my friends and young students. I have found one. I'm also watching these videos. I hated PHP but as a PHP developer. I have started to understand it through your videos. Thanks Sir.
Thank you for these detailed tutorial. I have searched for a long time for some basic tutorial and finally found one with yours. Thanks again for your efforts and keep going with those :))
Thank you.
Thanks for the free education videos, really appreciate it
Thanks dude! Love your Admin template also. Amazing!
Great explanations espetialy for getters and settres thank You
very good explaination, THANKS!
Very good tutorial !
Thank you very much for this!
Very good class! Congratulations!
Glad you liked it!
Thank you sir.
Thank You for the video
You're welcome
Thank you!
thank you! Could you add comments/ annotations to the code for e.g. where you have used an instance etc.
Hi thank you for those tutorials they are awesome. how do you set up the terminal on the right which updates after changes and provides outputs. Thanks.
PHP Storm has possibility to move windows around.
The terminal does not automatically executes the code after changes. If it seems like this, probably it is because of video editing...
I run the code manually in terminal.
Thank you.
that makes sense . Thanks.
hello, how do you echo multiple class function?
Please use dark theme editor...
thank you
Welcome
how to the result and the desktop name in terminal have the newline?
Thanks you very much. How can I get the source code of this course, please?
hello, nice tutorial but i didn't get an error when trying to access the private property of the class as you said, and i am wondering why
I have a question,
why we need to set and get? I tried to put return on setYear
public function setYear($year){
return $this->year = $year;
}
public function getYear(){
return $this->year;
}
echo $myCar->Setyear(2010);
echo $myCar->getYear();
output: 20102010
why not exactly put return on the setYear? and why we need getYear and put the return thier? Thanks.
Purpose of the setters and getters is to run some logic before actually assign or return value.
Setter accepts argument and saves the value in a property of the class.
Getter returns the value of the property.
If year must always be greater than 2000 you can write an if statement in setter and don't assign value if it is NOT greater than 2000.
I hope this makes sense...
@@TheCodeholic Thank you so much. after this course oop , I will watch your yii framework.
Thank you very much for this!