@@ -43,6 +43,9 @@ |
||
43 | 43 | ); |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @return Message |
|
48 | + */ |
|
46 | 49 | public function get($mailPluginName, array $options = array()) |
47 | 50 | { |
48 | 51 | return $this->getMailService()->get($mailPluginName, $options); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | * Sets pagination params and stores them in the session. |
54 | 54 | * |
55 | 55 | * @param String $namespace |
56 | - * @param array|Parameters $params |
|
56 | + * @param \Zend\Stdlib\ParametersInterface $params |
|
57 | 57 | * @return \Core\Controller\Plugin\PaginationParams fluent interface |
58 | 58 | */ |
59 | 59 | public function setParams($namespace, $params) |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * and the configuration to get the services for Hydrator |
24 | 24 | * |
25 | 25 | * @param ServiceLocatorInterface $serviceLocator |
26 | - * @return $this|mixed |
|
26 | + * @return EntitySnapshot |
|
27 | 27 | */ |
28 | 28 | |
29 | 29 | public function createService(ServiceLocatorInterface $serviceLocator) |
@@ -55,7 +55,6 @@ |
||
55 | 55 | * Two-letter codes from the ISO 3166 standard as implemented by The Internet Assigned |
56 | 56 | * Numbers Authority. |
57 | 57 | * |
58 | - * @param string $postalCode {'AC'|'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AX'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BV'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'EH'|'ER'|'ES'|'ET'|'EU'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GF'|'GG'|'GH'|'GI'|'GL'|'GM'|'GN'|'GP'|'GQ'|'GR'|'GS'|'GT'|'GU'|'GW'|'GY'|'HK'|'HM'|'HN'|'HR'|'HT'|'HU'|'ID'|'IE'|'IL'|'IM'|'IN'|'IO'|'IQ'|'IR'|'IS'|'IT'|'JE'|'JM'|'JO'|'JP'|'KE'|'KG'|'KH'|'KI'|'KM'|'KN'|'KP'|'KR'|'KW'|'KY'|'KZ'|'LA'|'LB'|'LC'|'LI'|'LK'|'LR'|'LS'|'LT'|'LU'|'LV'|'LY'|'MA'|'MC'|'MD'|'ME'|'MF'|'MG'|'MH'|'MK'|'ML'|'MM'|'MN'|'MO'|'MP'|'MQ'|'MR'|'MS'|'MT'|'MU'|'MV'|'MW'|'MX'|'MY'|'MZ'|'NA'|'NC'|'NE'|'NF'|'NG'|'NI'|'NL'|'NO'|'NP'|'NR'|'NU'|'NZ'|'OM'|'PA'|'PE'|'PF'|'PG'|'PH'|'PK'|'PL'|'PM'|'PN'|'PR'|'PS'|'PT'|'PW'|'PY'|'QA'|'RE'|'RO'|'RS'|'RU'|'RW'|'SA'|'SB'|'SC'|'SD'|'SE'|'SG'|'SH'|'SI'|'SJ'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SU'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TF'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TP'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'UK'|'UM'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'YU'|'ZA'|'ZM'|'ZW'} |
|
59 | 58 | * @return AddressInterface |
60 | 59 | */ |
61 | 60 | public function setCountryCode($countryCode); |
@@ -98,6 +98,9 @@ discard block |
||
98 | 98 | return $this->user; |
99 | 99 | } |
100 | 100 | |
101 | + /** |
|
102 | + * @param string $name |
|
103 | + */ |
|
101 | 104 | public function setName($name) |
102 | 105 | { |
103 | 106 | $this->name = $name; |
@@ -134,6 +137,9 @@ discard block |
||
134 | 137 | return $this; |
135 | 138 | } |
136 | 139 | |
140 | + /** |
|
141 | + * @return string |
|
142 | + */ |
|
137 | 143 | public function getType() |
138 | 144 | { |
139 | 145 | return $this->mimetype; |
@@ -158,6 +164,9 @@ discard block |
||
158 | 164 | return $this->file; |
159 | 165 | } |
160 | 166 | |
167 | + /** |
|
168 | + * @param \Doctrine\MongoDB\GridFSFile $file |
|
169 | + */ |
|
161 | 170 | public function setFile($file) |
162 | 171 | { |
163 | 172 | $this->setDateUploaded(new \DateTime()); |
@@ -89,7 +89,7 @@ |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * exclude methods from the automatism |
92 | - * @param $methods |
|
92 | + * @param string[] $methods |
|
93 | 93 | */ |
94 | 94 | public function setExcludeMethods($methods) |
95 | 95 | { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * Create the Json Entity Hydrator |
22 | 22 | * |
23 | 23 | * @param ServiceLocatorInterface $serviceLocator |
24 | - * @return JsonEntityHydrator |
|
24 | + * @return EntityHydrator |
|
25 | 25 | */ |
26 | 26 | public function createService(ServiceLocatorInterface $serviceLocator) |
27 | 27 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @param $data |
27 | - * @return mixed |
|
27 | + * @return Snapshot |
|
28 | 28 | * @ODM\PreUpdate |
29 | 29 | */ |
30 | 30 | public function __invoke($data) |
@@ -205,6 +205,9 @@ |
||
205 | 205 | } |
206 | 206 | |
207 | 207 | |
208 | + /** |
|
209 | + * @param string $spec |
|
210 | + */ |
|
208 | 211 | public function addClass($spec) |
209 | 212 | { |
210 | 213 | $class = array(); |