public function getUrl($document)
    {
        $environment = $document->getEnvironment();

        return $environment->getUrl() . '.' . $this->kernel->getFileExtension();
    }
public function getUrl($document)
    {
        $environment = $document->getEnvironment();

        return $environment->getUrl() . '.' . $this->kernel->getFileExtension();
    }
public function getUrl ( $ document ) { $ environment = $ document -> getEnvironment ( ) ; return $ environment -> getUrl ( ) . '.' . $ this -> kernel -> getFileExtension ( ) ; }
Gets the URL of a target file
Gets the URL of a target file