title: What is the recommended way to get a Shopware 6 entity by ID?
body: <p>I have a entity ID and want to get the Entity object via repository, currently we do</p>
  <pre><code>$criteria = new Criteria();
      $criteria-&gt;addFilter(new EqualsFilter('id', $propertyId));
  
      $property = $this-&gt;propertyGroupOptionRepository-&gt;search(
          $criteria,
          $this-&gt;context
      )-&gt;first();
  
      if($property) {
          return $property-&gt;get('groupId');
      }
  </code></pre>
  <p>Is there  a nicer way, like Laravel's <code>find</code> method?</p>