Skip to content

Instantly share code, notes, and snippets.

@wouterj
Last active December 31, 2015 04:49
Show Gist options
  • Save wouterj/7936307 to your computer and use it in GitHub Desktop.
Save wouterj/7936307 to your computer and use it in GitHub Desktop.
<?php
/**
* Implementation of FooInterface.
*/
class FooClass implements FooInterface
{
/**
* @var array
*/
private $bars = array();
/**
* Constructor.
*
* @param array $bars
* @param SomeInterface $some
*/
public function __construct(array $bars, SomeInterface $some)
{ /* ... */ }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment