<?php
namespace App\Utils\BaseParser\Structure\StructureParser\Structures\Base; abstract class Base { protected $transaction = null; public function __construct(\App\Utils\BaseParser\Structure\StructureParser\Structures\Transaction $transaction) { $this->transaction = $transaction; } public function initialize() { } public function destroy() { $this->transaction = null; } abstract public function getData(); } 