/**
  * @param \Housekeeper\Contracts\Flow\After $afterFlow
  */
 public function handle(AfterFlowContract $afterFlow)
 {
     $returnResult = $afterFlow->getReturnValue();
     if ($returnResult instanceof Arrayable) {
         $afterFlow->setReturnValue($returnResult->toArray());
     }
 }
 /**
  * @param \Housekeeper\Contracts\Flow\After $afterFlow
  */
 protected function remember(AfterFlowContract $afterFlow)
 {
     $this->setCacheForAction($afterFlow->getAction(), $afterFlow->getReturnValue());
 }