Closed eznix86 closed 1 month ago
I wondered this too and will allow me to reuse a lot of stuff
@eznix86 @n3storm as far as i know, you can change the Pipeline method to anything you want:
from \Illuminate\Pipeline\Pipeline::via()
/**
* Set the method to call on the pipes.
*
* @param string $method
* @return $this
*/
public function via($method)
{
$this->method = $method;
return $this;
}
I think via method is sufficient, sorry I overlooked it.
Closing due to inactivity. If you feel your issue is still relevant please open a new one with a link to a repository containing a minimal reproducible example.
How to use it with Laravel Pipeline ?
Should we use it with method overload ?
because Pipeline actions is
handle($mixed, $closure)
, but we also has handle function in laravel actions.