Create from a Class Node.
public static createFromNode ( BetterReflection\Reflector\Reflector $reflector, |
||
$reflector | BetterReflection\Reflector\Reflector | |
$node | ||
$locatedSource | BetterReflection\SourceLocator\Located\LocatedSource | |
$namespace | optional - if omitted, we assume it is global namespaced class | |
return |