public function findPublishedVersionByLocator(LocatorInterface $locator)
    {
        $entity = $this->findActiveVersionByLocator($locator);

        if ($entity !== null && $entity->getStatus() === VersionStatuses::PUBLISHED) {
            return $entity;
        }

        return null;
    }