Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function::existsInFile() #125

Closed
GaryJones opened this issue Mar 29, 2020 · 2 comments
Closed

Function::existsInFile() #125

GaryJones opened this issue Mar 29, 2020 · 2 comments

Comments

@GaryJones
Copy link
Contributor

Idea: Have a way to see if a particular function is defined in the current file:

Functions::existsInFile( string $function_name );
@jrfnl
Copy link
Member

jrfnl commented Mar 29, 2020

Can you make the use-case more specific ? (Also see my answer here: #124 (comment) )

@GaryJones
Copy link
Contributor Author

May be better to look at this from a File::containsFunction( $function_name ), in which case #122 would cover this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants