Pipes
Pipes implemented on top of pipelines.
Pipes run on method arguments and can transform argument value
Pipe must implement the IPipe interface.
if the pipe decorate a class it will run on all class methods.
if pipe decorate a method it will run on the first argument
Usage#
Transform#
now lets use out date pipe
Validate#
we can validate the argument and throw error