Skip to content

Instantly share code, notes, and snippets.

@rkrx
Created April 3, 2015 19:41
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 rkrx/1ea296130befb7f22d0f to your computer and use it in GitHub Desktop.
Save rkrx/1ea296130befb7f22d0f to your computer and use it in GitHub Desktop.
<?php
namespace Some\Name\Space;
use Some\Other\Name\Space\SomeOtherMybeAbstractClass;
use Some\Other\Name\Space\SomeInterface;
use Some\Other\Name\Space\SomeMixinTrait;
use Some\Other\Name\Space\RequestInterface;
use Some\Other\Name\Space\ResponseInterface;
class MyClass extends SomeOtherMybeAbstractClass implements SomeInterface {
use SomeMixinTrait;
/**
* @param array $listOfSomething
* @param RequestInterface $request
* @return ResponseInterface
*/
public function someMethod(array $listOfSomething, RequestInterface $request) {
/* do something here */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment