1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 02:10:06 +08:00
SpaceVim/bundle/phpcomplete.vim-vim7/tests/fixtures/GetClassName/foo_method_chains.php

96 lines
1.0 KiB
PHP
Raw Normal View History

<?php
namespace BarNS\Things;
class Thing {
public $publicThing;
protected $protectedThing;
private $privateThing;
function getActualThing(){
}
}
namespace FooNS\SomethingNS;
use BarNS\Things\Thing;
class Something {
public $publicSomeThing;
protected $protectedSomeThing;
private $privateSomeThing;
/**
* The current thing in something.
*
* @var BarNS\Things\Thing
*/
public $currentThing;
/**
* Return a thing.
*
* @return Thing
*/
function getThing() {
}
}
namespace FooNS\SubNameSpace;
use FooNS\Foo;
class FooExtension extends Foo {
function bar() {
$this->getSomething()->
}
}
namespace FooNS;
use FooNS\SomethingNS\Something;
use BarNS\Things\Thing;
class Foo {
/**
* Get something.
*
* @return Something
*/
function getSomething() {
}
/**
* Get thing.
*
* @return Thing
*/
function getThing() {
}
function barThis() {
}
function completeThisGetSomething() {
$this->getSomething()->
}
function completeThis() {
$this->
}
}