Skip to content

Instantly share code, notes, and snippets.

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

  • Save pusachev/55fe530afd7d6bb82c835e40e971ec13 to your computer and use it in GitHub Desktop.

Select an option

Save pusachev/55fe530afd7d6bb82c835e40e971ec13 to your computer and use it in GitHub Desktop.
<?php
namespace Vendor\Module;
use Foo\Bazz;
class A
{
/**
* @var \Foo\Bazz
*/
private $bazz;
/**
* A constructor.
* @param \Foo\Bazz $bazz
*/
public function __construct(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