Skip to content

Instantly share code, notes, and snippets.

@patrickallaert
Created February 15, 2017 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickallaert/2a3ab2925f44c4a312865824ab6a3599 to your computer and use it in GitHub Desktop.
Save patrickallaert/2a3ab2925f44c4a312865824ab6a3599 to your computer and use it in GitHub Desktop.
FooBar with full (and duplicated) comments
<?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