-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#118. Add validate method to check custom and required types
- Loading branch information
1 parent
9df38a4
commit 473a0e4
Showing
4 changed files
with
30 additions
and
11 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
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
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
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 |
---|---|---|
@@ -1,15 +1,18 @@ | ||
<?php | ||
|
||
namespace rjapi\types; | ||
|
||
interface CustomsInterface | ||
{ | ||
public const CUSTOM_TYPES_ID = 'ID'; | ||
public const CUSTOM_TYPES_TYPE = 'Type'; | ||
public const CUSTOM_TYPES_RELATIONSHIPS = 'Relationships'; | ||
public const CUSTOM_TYPES_QUERY_PARAMS = 'QueryParams'; | ||
public const CUSTOM_TYPES_FILTER = 'Filter'; | ||
public const CUSTOM_TYPES_ATTRIBUTES = 'Attributes'; | ||
public const CUSTOM_TYPES_TREES = 'Trees'; | ||
public const CUSTOM_PROP_JWT = 'jwt'; | ||
public const CUSTOM_TYPE_REDIS = 'Redis'; | ||
public const CUSTOM_TYPES_ID = 'ID'; | ||
public const CUSTOM_TYPES_TYPE = 'Type'; | ||
public const CUSTOM_RELATIONSHIPS_DATA_ITEM = 'RelationshipsDataItem'; | ||
|
||
public const CUSTOM_TYPES_RELATIONSHIPS = 'Relationships'; | ||
public const CUSTOM_TYPES_QUERY_PARAMS = 'QueryParams'; | ||
public const CUSTOM_TYPES_FILTER = 'Filter'; | ||
public const CUSTOM_TYPES_ATTRIBUTES = 'Attributes'; | ||
public const CUSTOM_TYPES_TREES = 'Trees'; | ||
public const CUSTOM_PROP_JWT = 'jwt'; | ||
public const CUSTOM_TYPE_REDIS = 'Redis'; | ||
} |