Вход Регистрация
Файл: gapps/vendor/phpunit/php-token-stream/tests/_fixture/source4.php
Строк: 23
<?php
// Declare the interface 'iTemplate'
interface iTemplate
{
    public function 
setVariable($name$var);
    public function
        
getHtml($template);
}

interface 
a
{
    public function 
foo();
}

interface 
extends a
{
    public function 
baz(Baz $baz);
}

// short desc for class that implement a unique interface
class implements b
{
    public function 
foo()
    {
    }

    public function 
baz(Baz $baz)
    {
    }
}
Онлайн: 0
Реклама