~ballot/wordpress/openstack-objectstorage-breaking-insight

« back to all changes in this revision

Viewing changes to vendor/phpunit/php-token-stream/tests/_fixture/source4.php

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
// Declare the interface 'iTemplate'
 
3
interface iTemplate
 
4
{
 
5
    public function setVariable($name, $var);
 
6
    public function
 
7
        getHtml($template);
 
8
}
 
9
 
 
10
interface a
 
11
{
 
12
    public function foo();
 
13
}
 
14
 
 
15
interface b extends a
 
16
{
 
17
    public function baz(Baz $baz);
 
18
}
 
19
 
 
20
// short desc for class that implement a unique interface
 
21
class c implements b
 
22
{
 
23
    public function foo()
 
24
    {
 
25
    }
 
26
 
 
27
    public function baz(Baz $baz)
 
28
    {
 
29
    }
 
30
}