This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253454

Summary: Add private and protected option, when creating function in same class
Product: php Reporter: fiala.premysl
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description fiala.premysl 2015-07-14 08:14:36 UTC
Scenario:
I am working in some class..
 
....
 $someObject->doSomething(); 
 // function doSomething() does not exist
 // Press alt+enter for "hint" options
....
 
One of the hints is to create function in the $someObject class. 
The created function is always public.

I would like have an option for private/protected visibility when creating function in same class I am working in.