Skip to content

feat: Implement basic call function - #4

Closed
matapatos wants to merge 1 commit into
mainfrom
vibe/feat-implement-call-function
Closed

feat: Implement basic call function#4
matapatos wants to merge 1 commit into
mainfrom
vibe/feat-implement-call-function

Conversation

@matapatos

Copy link
Copy Markdown
Contributor

Summary

  • Implement basic call function for invoking PHP functions with parameters

Details

This PR implements the call function that allows invoking PHP functions with validated parameters. Currently, it:

  • Accepts a function name (string) and parameters array
  • Calls the function with the provided parameters
  • Returns the function result
  • Throws exceptions on errors

Note

Parameter validation based on type hints is not yet implemented and will be added in a future improvement.

Testing

The existing test in CallFunctionTest.php verifies that the function exists in the namespace.

…eters

- Implement call function to invoke PHP functions by name
- Handle string function names
- Pass parameters array to the called function
- Return the function result
- Throw exceptions on errors

Note: Parameter validation is not yet implemented and will be added in a future improvement.

Co-authored-by: matapatos <matapatos@users.noreply.github.com>
@matapatos

Copy link
Copy Markdown
Contributor Author

Doesn't implement main validation logic

@matapatos matapatos closed this Aug 4, 2026
@matapatos
matapatos deleted the vibe/feat-implement-call-function branch August 4, 2026 16:01
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

Successfully merging this pull request may close these issues.

2 participants