src/AbstractProcessor.php
public function process(DataObjectInterface $data = null)
    {
        if ( ! is_null($data)) {
            $this->data = $data;
        }

        $this->before();

        $this->doProcessing();

        $this->after();

        return $this->getResult();
    }
public function process(DataObjectInterface $data = null)
    {
        if ( ! is_null($data)) {
            $this->data = $data;
        }

        $this->before();

        $this->doProcessing();

        $this->after();

        return $this->getResult();
    }
public function process ( DataObjectInterface $ data = null ) { if ( ! is_null ( $ data ) ) { $ this -> data = $ data ; } $ this -> before ( ) ; $ this -> doProcessing ( ) ; $ this -> after ( ) ; return $ this -> getResult ( ) ; }
Process the data sent

@param DataObjectInterface $data
@return ProcessorResult
Process the data sent