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 - Add private and protected option, when creating function in same class
Summary: Add private and protected option, when creating function in same class
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-14 08:14 UTC by fiala.premysl
Modified: 2015-07-14 08:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.