Merge pull request #18 from rahman95/add-my-contribution

added code sample and updated readme
This commit is contained in:
Luke Oliff 2018-10-01 06:43:18 -07:00 committed by GitHub
commit d88b74d469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 1 deletions

View File

@ -51,12 +51,22 @@ Start adding your names here:
- I am a young developer in india
- I'm currently a student!
### rahman95
- Software Developer born in Germany raised in the UK. 🇩🇪 🇬🇧
- Hobbies include:
- Coding
- Tinkering
- Photography
- Gastronomy
- [![twitter-alt][twitter-img]](https://twitter.com/rahman_younus)
[![github-alt][github-img]](https://github.com/rahman95)
### Shubham Nishad
- Fourth year student in Computer Science.
- you can check my site [https://shubhamnishad.com/](https://shubhamnishad.com/)
- [![twitter-alt][twitter-img]](https://twitter.com/shubhamnishad97)
[![github-alt][github-img]](https://github.com/shubhamnishad97)
### Example Profile
- I'm an example that you can copy, if you want :)
- I work for...

19
code/rahman95.php Normal file
View File

@ -0,0 +1,19 @@
<?php
class HelloWorld
{
protected $name;
public function __construct(string $name)
{
$this->name = $name;
}
public function sayHelloWorld()
{
return "Hello World from {$this->name} 👋";
}
}
$class = new HelloWorld('rahman95');
echo $class->sayHelloWorld();