Skip to content

Conversation

@dam1r89
Copy link

@dam1r89 dam1r89 commented Dec 13, 2022

.. of how I imagine it from the library user perspective. (related to #27 issue)

{
public function build(PathMethodBuilder $pathBuilder, $instance, $parameters, $reflectionClass, $method)
{
// Here you can add your own logic to build the path
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some rubbish code...


#[
DynamicBuilder(MyFrameworkResolver::class),
Property(PropertyType::REF, "prop4", ref: RefSchema::class)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some properties as an example that DynamicBuilder can be used together with other attributes.

@uderline uderline force-pushed the master branch 2 times, most recently from 60bc089 to bcd45dd Compare June 28, 2023 16:07
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.

1 participant