* * * @param int $arg * @param array $arr * @param int $bool */ function funcB($arg, array $arr, $bool=10) { } function funcD($arg, $arr=array(), ExampleInterface $depr=null, \stdClass $class) { } function getFunc() {} function hasFunc() {} abstract function isFunc(); /** * @ignore */ function someFunc() { } private function privFunc() { } } /** * @deprecated This one is deprecated * * Lorem te ipsum * * @package Acme */ class ExampleClassDepr { } /** * Interface ExampleInterface * @package Acme * @ignore */ interface ExampleInterface { /** * @param string $arg * @return \stdClass */ public function func($arg='a'); } class SomeClass { /** * @return int */ public function aMethod() {} } class ClassImplementingInterface extends SomeClass implements ExampleInterface { /** * @inheritdoc */ public function func($arg='a') {} /** * @inheritDoc */ public function aMethod() {} /** * @return \FilesystemIterator */ public function methodReturnNativeClass() {} /** * @return \FilesystemIterator[] */ public function methodReturningArrayNativeClass() {} } class ClassWithStaticFunc { /** * @return float */ static function somStaticFunc() { } } use PHPDocsMD\Console\CLI; interface InterfaceReferringToImportedClass { /** * @return CLI */ function theFunc(); /** * @return CLI[] */ function funcReturningArr(); }