Created
February 15, 2017 14:32
-
-
Save patrickallaert/2a3ab2925f44c4a312865824ab6a3599 to your computer and use it in GitHub Desktop.
FooBar with full (and duplicated) comments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class FooBar. | |
*/ | |
class FooBar | |
{ | |
/** @var Baz */ | |
private $baz; | |
/** | |
* FooBar constructor. | |
* @param Baz $baz | |
*/ | |
pulic function __construct(Baz $baz) | |
{ | |
$this->baz = $baz; | |
} | |
/** | |
* Get the baz. | |
* @return Baz | |
*/ | |
public function getBaz(): Baz | |
{ | |
return $this->baz; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment