Content/ArticleDataProvider.php
private function getResource($uuid, $locale)
    {
        return $this->proxyFactory->createProxy(
            ArticleDocument::class,
            function (
                &$wrappedObject,
                LazyLoadingInterface $proxy,
                $method,
                array $parameters,
                &$initializer
            ) use ($uuid, $locale) {
                $initializer = null;
                $wrappedObject = $this->documentManager->find($uuid, $locale);

                return true;
            }
        );
    }
private function getResource($uuid, $locale)
    {
        return $this->proxyFactory->createProxy(
            ArticleDocument::class,
            function (
                &$wrappedObject,
                LazyLoadingInterface $proxy,
                $method,
                array $parameters,
                &$initializer
            ) use ($uuid, $locale) {
                $initializer = null;
                $wrappedObject = $this->documentManager->find($uuid, $locale);

                return true;
            }
        );
    }
private function getResource ( $ uuid , $ locale ) { return $ this -> proxyFactory -> createProxy ( ArticleDocument :: class , function ( & $ wrappedObject , LazyLoadingInterface $ proxy , $ method , array $ parameters , & $ initializer ) use ( $ uuid , $ locale ) { $ initializer = null ; $ wrappedObject = $ this -> documentManager -> find ( $ uuid , $ locale ) ; return true ; } ) ; }
Returns Proxy document for uuid.

@param string $uuid
@param string $locale

@return object
Returns Proxy document for uuid .