<?php

namespace {{namespace}}\Adapter;

use {{namespace}}\{{interfaceName}};
use {{modelNamespace}}\{{modelName}};

class {{modelName}}Adapter implements {{interfaceName}} {
    private {{modelName}} ${{modelVariableName}};

    public function __construct({{modelName}} ${{modelVariableName}}) {
        $this->{{modelVariableName}} = ${{modelVariableName}};
}

{{#methods}}
	public function {{methodName}}(): {{returnType}} {
	return $this->{{modelVariableName}}->{{methodName}}();
	}
{{/methods}}
}
