| 1 | <?php |
||
| 18 | class DatePermalink implements PermalinkInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $pattern; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param $pattern |
||
| 27 | */ |
||
| 28 | public function __construct($pattern = '%1$04d/%2$d/%3$d/%4$s') |
||
| 32 | |||
| 33 | public function generate(PostInterface $post) |
||
| 43 | |||
| 44 | public function getParameters($permalink) |
||
| 61 | } |
||
| 62 |