src/Pipeline/AbstractProcessor.php
protected function processPipeObject(object $pipe, $payload)
    {
        if (!$pipe instanceof PipeInterface) {
            throw new MissingPipeInterfaceException(get_class($pipe));
        }
        return $pipe($payload);
    }
protected function processPipeObject(object $pipe, $payload)
    {
        if (!$pipe instanceof PipeInterface) {
            throw new MissingPipeInterfaceException(get_class($pipe));
        }
        return $pipe($payload);
    }
protected function processPipeObject ( object $ pipe , $ payload ) { if ( ! $ pipe instanceof PipeInterface ) { throw new MissingPipeInterfaceException ( get_class ( $ pipe ) ) ; } return $ pipe ( $ payload ) ; }
Process pipe class object

@param object $pipe
@param mixed $payload
@return mixed
@throws MissingPipeInterfaceException
Process pipe class object