Skip to content

Instantly share code, notes, and snippets.

@pusachev
Created September 3, 2019 12:06
Show Gist options
  • Select an option

  • Save pusachev/8f6db62a7b9828b1eba72485bccb6ebd to your computer and use it in GitHub Desktop.

Select an option

Save pusachev/8f6db62a7b9828b1eba72485bccb6ebd to your computer and use it in GitHub Desktop.
<?php
namespace Vendor\Module;
class A
{
/**
* @var \Foo\Bazz
*/
private $bazz;
/**
* A constructor.
* @param \Foo\Bazz $bazz
*/
public function __construct(\Foo\Bazz $bazz)
{
$this->bazz = $bazz
}
/**
* @return \Foo\Bazz
*/
public function getBazz()
{
return $this->bazz;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment