1717 * @property string|null $latest_stable_version
1818 * @property \Cake\I18n\Date|null $latest_stable_release_date
1919 *
20- * @property \Tags\Model\Entity\Tag[] $tags
21- *
22- * @property \Tags\Model\Entity\Tag[] $cake_php_tags
20+ * @property array<\Tags\Model\Entity\Tag> $cake_php_tags
2321 * @property array<int, array<\Tags\Model\Entity\Tag>> $cake_php_tag_groups
24- * @property \Tags\Model\Entity\Tag[] $php_tags
22+ * @property array< \Tags\Model\Entity\Tag> $php_tags
2523 * @property array<int, array<\Tags\Model\Entity\Tag>> $php_tag_groups
24+ * @property array<\Tags\Model\Entity\Tagged> $tagged
25+ * @property array<\Tags\Model\Entity\Tag> $tags
26+ * @property \Tags\Model\Entity\Tagged $_joinData
2627 */
2728class Package extends Entity
2829{
@@ -42,6 +43,7 @@ class Package extends Entity
4243
4344 /**
4445 * @return array<\Tags\Model\Entity\Tag>
46+ * @see \App\Model\Entity\Package::$cake_php_tags
4547 */
4648 protected function _getCakePhpTags (): array
4749 {
@@ -50,6 +52,7 @@ protected function _getCakePhpTags(): array
5052
5153 /**
5254 * @return array<int, array<\Tags\Model\Entity\Tag>>
55+ * @see \App\Model\Entity\Package::$cake_php_tag_groups
5356 */
5457 protected function _getCakePhpTagGroups (): array
5558 {
@@ -58,6 +61,7 @@ protected function _getCakePhpTagGroups(): array
5861
5962 /**
6063 * @return array<\Tags\Model\Entity\Tag>
64+ * @see \App\Model\Entity\Package::$php_tags
6165 */
6266 protected function _getPhpTags (): array
6367 {
@@ -66,6 +70,7 @@ protected function _getPhpTags(): array
6670
6771 /**
6872 * @return array<int, array<\Tags\Model\Entity\Tag>>
73+ * @see \App\Model\Entity\Package::$php_tag_groups
6974 */
7075 protected function _getPhpTagGroups (): array
7176 {
@@ -118,4 +123,19 @@ protected function groupVersionTags(array $tags, string $prefix): array
118123
119124 return $ groups ;
120125 }
126+
127+ public const FIELD_ID = 'id ' ;
128+ public const FIELD_PACKAGE = 'package ' ;
129+ public const FIELD_DESCRIPTION = 'description ' ;
130+ public const FIELD_REPO_URL = 'repo_url ' ;
131+ public const FIELD_DOWNLOADS = 'downloads ' ;
132+ public const FIELD_STARS = 'stars ' ;
133+ public const FIELD_LATEST_STABLE_VERSION = 'latest_stable_version ' ;
134+ public const FIELD_LATEST_STABLE_RELEASE_DATE = 'latest_stable_release_date ' ;
135+ public const FIELD_CAKE_PHP_TAGS = 'cake_php_tags ' ;
136+ public const FIELD_CAKE_PHP_TAG_GROUPS = 'cake_php_tag_groups ' ;
137+ public const FIELD_PHP_TAGS = 'php_tags ' ;
138+ public const FIELD_PHP_TAG_GROUPS = 'php_tag_groups ' ;
139+ public const FIELD_TAGGED = 'tagged ' ;
140+ public const FIELD_TAGS = 'tags ' ;
121141}
0 commit comments