1 | <?php |
||
4 | trait resourceAssociationType |
||
5 | { |
||
6 | /** |
||
7 | * Format a message to show error when target resource property argument is |
||
8 | * not null or instance of ResourceProperty. |
||
9 | * |
||
10 | * @param string $argumentName The name of the target resource property argument |
||
11 | * |
||
12 | * @return string The formatted message |
||
13 | */ |
||
14 | public static function resourceAssociationTypeEndPropertyMustBeNullOrInstanceofResourceProperty($argumentName) |
||
18 | |||
19 | /** |
||
20 | * Error message to show when both from and to property arguments are null. |
||
21 | * |
||
22 | * @return string The error message |
||
23 | */ |
||
24 | public static function resourceAssociationTypeEndBothPropertyCannotBeNull() |
||
28 | |||
29 | |||
30 | } |
||
31 |