Can Vural

Results 135 comments of Can Vural

@xitox97 Yeah it is ok to add more than one method in PR :+1:

Thank you! I made some changes to simplify it little bit.

Hi, Thank you for considering this! Yes, mainly this is about macros. But I think this could apply to any other code in PHP that uses `Closure::bindTo` In Laravel you...

The `Call to undefined method Foo:setBar` error is solved by this [extension.](https://github.com/nunomaduro/larastan/blob/master/src/Methods/Pipes/Macros.php) Basically we read the protected `macros` property with reflection. And get the closure. And create `ReflectionFunction` from it...

If it could be solved by a simple PHPDoc, I think it can be added to Laravel core. So no stub file would be needed.

Thank you! I pushed some commits to simplify some bits.