protected function getAdminsRoleEntity(Table $table) : ?EntityInterface
    {
        $result = $table->find()
            ->enableHydration(true)
            ->where(['name' => $this->role])
            ->first();

        Assert::nullOrIsInstanceOf($result, EntityInterface::class);

        return $result;
    }