Coding Challenge - Project - Laravel - PHP
₹600-1500 INR
Paid on delivery
I would like for you to create a 2 classes. One class should be called "Author" and the other should be called "Book".
Upon instantiation of "Author" class, first name and last name should be set. This class should have 3 getters. The getters should have the following behavior...
1. Gets first name
2. Gets last name
3. Gets full name
The class "Book" should take 3 arguments upon instantiation. Arguments are as follows...
1. Author -> needs to be of class Author in order to instantiate
2. Title
3. Price
The book should have 5 getters. The getters should have the following behavior...
1. Gets price
2. Gets title
3. Gets author's first name
4. Gets author's last name
5. Gets author's full name
The book should also have 1 setters which will allow you to change the price.
I need answer for this question to be written in laravel or php as soon as possible
Project ID: #17594566
About the project
Awarded to:
Hello there! It is so simple task for me. I have 5+ years of experience in PHP. I can solve this in 30 min. Thank you
3 freelancers are bidding on average ₹1467 for this job
We are a web developing and designing company with various other facilities such as web content and digital marketing related to all types of specializations. Additional considerations and implementations are assiste More