diff options
Diffstat (limited to 'vendor/phpunit/php-token-stream/tests/_fixture/source4.php')
-rw-r--r-- | vendor/phpunit/php-token-stream/tests/_fixture/source4.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vendor/phpunit/php-token-stream/tests/_fixture/source4.php b/vendor/phpunit/php-token-stream/tests/_fixture/source4.php new file mode 100644 index 0000000..6b064fc --- /dev/null +++ b/vendor/phpunit/php-token-stream/tests/_fixture/source4.php @@ -0,0 +1,30 @@ +<?php +// Declare the interface 'iTemplate' +interface iTemplate +{ + public function setVariable($name, $var); + public function + getHtml($template); +} + +interface a +{ + public function foo(); +} + +interface b extends a +{ + public function baz(Baz $baz); +} + +// short desc for class that implement a unique interface +class c implements b +{ + public function foo() + { + } + + public function baz(Baz $baz) + { + } +} |