Skip to content

Instantly share code, notes, and snippets.

@StanAngeloff
Created May 5, 2010 16:50
Show Gist options
  • Save StanAngeloff/391078 to your computer and use it in GitHub Desktop.
Save StanAngeloff/391078 to your computer and use it in GitHub Desktop.
<?php
namespace my\space;
final class from_1
{
public function trigger()
{}
}
<?php
namespace my\space;
final class in_2
{
public function test(from_1 $item)
{
$item-> // no completions provided
from_1:: // no completions provided
\my\space\from_1::trigger(); // completion for 'trigger' found
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment