This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Project): add messages field to project
Closes #239
- Loading branch information
Jens Schulze
committed
Aug 5, 2016
1 parent
66a40a9
commit 4deb11f
Showing
2 changed files
with
28 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,24 @@ | ||
<?php | ||
/** | ||
* @author @jayS-de <jens.schulze@commercetools.de> | ||
*/ | ||
|
||
namespace Commercetools\Core\Model\Message; | ||
|
||
use Commercetools\Core\Model\Common\JsonObject; | ||
|
||
/** | ||
* @package Commercetools\Core\Model\Message | ||
* | ||
* @method bool getEnabled() | ||
* @method MessagesConfiguration setEnabled(bool $enabled = null) | ||
*/ | ||
class MessagesConfiguration extends JsonObject | ||
{ | ||
public function fieldDefinitions() | ||
{ | ||
return [ | ||
'enabled' => [static::TYPE => 'bool'], | ||
]; | ||
} | ||
} |
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