public function create(
        $location,
        $lastModification = null,
        $changeFrequency = null,
        $priority = null
    ) {
        return new SitemapElement(
            $location,
            $lastModification,
            $changeFrequency,
            $priority
        );
    }
public function create(
        $location,
        $lastModification = null,
        $changeFrequency = null,
        $priority = null
    ) {
        return new SitemapElement(
            $location,
            $lastModification,
            $changeFrequency,
            $priority
        );
    }
public function create ( $ location , $ lastModification = null , $ changeFrequency = null , $ priority = null ) { return new SitemapElement ( $ location , $ lastModification , $ changeFrequency , $ priority ) ; }
Create new SitemapElement.

@param string      $location         Location
@param string|null $lastModification Last modification
@param string|null $changeFrequency  Change frequency
@param string|null $priority         Priority

@return SitemapElement New instance
Create new SitemapElement .