mirror of
https://github.com/c0de-archive/hacktoberfest-2018.git
synced 2025-07-30 13:30:16 +00:00
added code sample and updated readme
This commit is contained in:
19
README.md
19
README.md
@@ -5,8 +5,8 @@
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
@@ -27,19 +27,29 @@ Start adding your names here:
|
||||
- My hobbies include:
|
||||
- Coding
|
||||
- Gaming
|
||||
- ~~Having a social life~~
|
||||
- ~~Having a social life~~
|
||||
[![github-alt][github-img]](https://github.com/BenTechy66)
|
||||
|
||||
### Karen Geerts
|
||||
- I work for REA (https://www.rea-group.com/IRM/content/default.aspx) and am a junior Ruby developer.
|
||||
- [![twitter-alt][twitter-img]](https://twitter.com/GeekRanters)
|
||||
[![github-alt][github-img]](https://github.com/karengeerts)
|
||||
|
||||
|
||||
### Luke Oliff
|
||||
- Technical Writer working for @auth0
|
||||
- [![twitter-alt][twitter-img]](https://twitter.com/mroliff)
|
||||
[![github-alt][github-img]](https://github.com/lukeoliff)
|
||||
|
||||
### 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)
|
||||
|
||||
### Example Profile
|
||||
- I'm an example that you can copy, if you want :)
|
||||
- I work for...
|
||||
@@ -51,6 +61,7 @@ Start adding your names here:
|
||||
[![dribbble-alt][dribbble-img]](https://dribbble.com/example)
|
||||
[![github-alt][github-img]](https://github.com/example)
|
||||
|
||||
|
||||
## How to Contribute
|
||||
|
||||
Please read our [contributing](CONTRIBUTING.md) guidelines before making your pull request.
|
||||
|
19
code/rahman95.php
Normal file
19
code/rahman95.php
Normal 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();
|
Reference in New Issue
Block a user