<?php
namespace ModulesAbstract\FluxRest\ResponseHandler\Operation; abstract class OperationAbstract { public $action = null; protected $logger = null; protected $FluXEmulator = null; public function __construct(\ModulesAbstract\FluxRest\FluXEmulator $FluXEmulator, \Engine\Logger\GeneralAbstract $logger) { $this->action = stripClassNamespace(get_class($this)); $this->logger = $logger; $this->FluXEmulator = $FluXEmulator; } abstract public function handle(); public function handleAndGetResponse() { return $this->handle()[1]; } } 