Skip to content

Commit

Permalink
path
Browse files Browse the repository at this point in the history
  • Loading branch information
evheniy committed Oct 21, 2015
1 parent eb4731b commit 3d204c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/docs/dump_entity.md
Expand Up @@ -12,7 +12,7 @@ Methods
| Setter | Getter | Required | Description |
|---------------------------|---------------------------|:------------:|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| setWebDir | getWebDir | + | For dumping sitemap.xml to web (open) directory. For example: $dumpEntity -> setWebDir( realpath( $container -> get('kernel') -> getRootDir() . '/../web' )); |
| setPath | getPath | - | Path inside web directory. For example: **web/sitemaps/sitemap.xml** |
| setPath | getPath | - | Path inside web directory. For example: web/**sitemaps**/sitemap.xml |
| setCarefully | isCarefully | - | If true: check if sitemap file and path exist. If exist it throws exception, if not: just creates directory and overwrite file |
| setProtocol | getProtocol | - | Protocol **http** or **https**. Default: `http` |
| setDomain | getDomain | + | Example: $dumpEntity->setDomain('site.com'); |
Expand Down Expand Up @@ -65,4 +65,4 @@ This bundle is under the [MIT][3] license.
[2]: http://makedev.org/sitemap.xml
[3]: https://github.com/evheniy/SitemapXmlBundle/blob/master/Resources/meta/LICENSE
[4]: https://support.google.com/webmasters/answer/183668
[5]: https://github.com/evheniy/SitemapXmlBundle/blob/master/Resources/docs/sitemap_entity.md
[5]: https://github.com/evheniy/SitemapXmlBundle/blob/master/Resources/docs/sitemap_entity.md

0 comments on commit 3d204c0

Please sign in to comment.