Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App;
- class Product
- {
- producted $name;
- public function_construct($name)
- {
- $this->name = $name;
- }
- public function name()
- {
- return $this->name;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement