final public function Forms(): EntityRepository
{ return Shopware()->
Models()->
getRepository(Form::
class);
} /**
* Returns plugin form
*/
final public function Form(): Form
{ if (!
$this->
hasForm()) { $this->form =
$this->
initForm();
} if ($this->form === null
) { throw new RuntimeException('Plugin form was not initialized correctly'
);
} return $this->form;
} final public function hasForm(): bool
{