Skip to content

Commit 0a3a353

Browse files
committed
Merge pull request #3 from badlamer/master
ChangeFrequency class not found, when using only sitemap index
2 parents 185a0fb + ea23817 commit 0a3a353

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

src/ChangeFrequency.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Tackk\Cartographer;
4+
5+
class ChangeFrequency
6+
{
7+
const ALWAYS = 'always';
8+
const HOURLY = 'hourly';
9+
const DAILY = 'daily';
10+
const WEEKLY = 'weekly';
11+
const MONTHLY = 'monthly';
12+
const YEARLY = 'yearly';
13+
const NEVER = 'never';
14+
}

src/Sitemap.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,6 @@
22

33
namespace Tackk\Cartographer;
44

5-
class ChangeFrequency
6-
{
7-
const ALWAYS = 'always';
8-
const HOURLY = 'hourly';
9-
const DAILY = 'daily';
10-
const WEEKLY = 'weekly';
11-
const MONTHLY = 'monthly';
12-
const YEARLY = 'yearly';
13-
const NEVER = 'never';
14-
}
15-
165
class Sitemap extends AbstractSitemap
176
{
187
protected function getRootNodeName()

0 commit comments

Comments
 (0)