-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matt Janssen
committed
Dec 31, 2016
1 parent
0514da5
commit 7813054
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
namespace MattJanssen\ApiResponseBundle\Model; | ||
|
||
/** | ||
* @author Matt Janssen <matt@mattjanssen.com> | ||
*/ | ||
class ApiPathConfig extends ApiConfig | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
private $pattern; | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPattern() | ||
{ | ||
return $this->pattern; | ||
} | ||
|
||
/** | ||
* @param string $pattern | ||
* | ||
* @return $this | ||
*/ | ||
public function setPattern($pattern) | ||
{ | ||
$this->pattern = $pattern; | ||
|
||
return $this; | ||
} | ||
} |