Created
May 5, 2010 16:50
-
-
Save StanAngeloff/391078 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace my\space; | |
final class from_1 | |
{ | |
public function trigger() | |
{} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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