// Import framework stuff
use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
-use Org\Mxchange\CoreFramework\Resolver\Resolver;
+use Org\Mxchange\CoreFramework\Traits\Resolver\ResolverTrait;
/**
* A general action class. You shall extend this class if you are going to write
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseAction extends BaseFrameworkSystem {
- /**
- * Resolver instance
- */
- private $resolverInstance = NULL;
+ // Load traits
+ use ResolverTrait;
/**
* Protected constructor
parent::__construct($className);
}
- /**
- * Setter for resolver instance
- *
- * @param $resolverInstance Instance of a command resolver class
- * @return void
- */
- protected final function setResolverInstance (Resolver $resolverInstance) {
- $this->resolverInstance = $resolverInstance;
- }
-
- /**
- * Getter for resolver instance
- *
- * @return $resolverInstance Instance of a command resolver class
- */
- protected final function getResolverInstance () {
- return $this->resolverInstance;
- }
-
}