Coding Challenge - Project - Laravel - PHP

Completed Posted 5 years ago Paid on delivery
Completed 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

HTML Laravel MySQL PHP Software Architecture

Project ID: #17594566

About the project

3 proposals Remote project Active 5 years ago

Awarded to:

Anaskhalid94

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

₹1300 INR in 1 day
(4 Reviews)
0.0

3 freelancers are bidding on average ₹1467 for this job

DHSprout

Hi I have 5+ experience in web development. I have completed many task like this. I have strong knowledge of PHP, Laravel and Lumen. Please help me with more detail on your project so I will give you best work. More

₹1750 INR in 1 day
(32 Reviews)
2.6
lalitkaushik

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

₹1350 INR in 15 days
(0 Reviews)
0.0