Skip to content

Commit 7813054

Browse files
author
Matt Janssen
committed
Added ApiPathConfig
1 parent 0514da5 commit 7813054

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

src/Model/ApiPathConfig.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
3+
namespace MattJanssen\ApiResponseBundle\Model;
4+
5+
/**
6+
* @author Matt Janssen <matt@mattjanssen.com>
7+
*/
8+
class ApiPathConfig extends ApiConfig
9+
{
10+
/**
11+
* @var string
12+
*/
13+
private $pattern;
14+
15+
/**
16+
* @return string
17+
*/
18+
public function getPattern()
19+
{
20+
return $this->pattern;
21+
}
22+
23+
/**
24+
* @param string $pattern
25+
*
26+
* @return $this
27+
*/
28+
public function setPattern($pattern)
29+
{
30+
$this->pattern = $pattern;
31+
32+
return $this;
33+
}
34+
}

0 commit comments

Comments
 (0)