Minor - update docs

pull/3890/head
Julio Montoya 4 years ago
parent a12e49cb73
commit 0726dc7100
  1. 2
      src/CoreBundle/Entity/Language.php
  2. 2
      src/CoreBundle/Entity/Tool.php
  3. 2
      src/CoreBundle/Entity/TrackEAttempt.php
  4. 2
      src/CoreBundle/Entity/TrackEExercises.php
  5. 2
      src/CoreBundle/Entity/UserRelUser.php
  6. 2
      src/CoreBundle/Entity/Usergroup.php

@ -12,7 +12,7 @@ use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\Validator\Constraints as Assert;
/** /**
* Language. * Platform languages.
* *
* @ORM\Table( * @ORM\Table(
* name="language", * name="language",

@ -14,7 +14,7 @@ use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\Validator\Constraints as Assert;
/** /**
* Tool. * Platform tools.
* *
* @ORM\Table(name="tool") * @ORM\Table(name="tool")
* @ORM\Entity * @ORM\Entity

@ -13,7 +13,7 @@ use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\Validator\Constraints as Assert;
/** /**
* TrackEAttempt. * Questions per quiz user attempts.
* *
* @ORM\Table( * @ORM\Table(
* name="track_e_attempt", * name="track_e_attempt",

@ -11,7 +11,7 @@ use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\Validator\Constraints as Assert;
/** /**
* TrackEExercises. * Quiz user attempts.
* *
* @ORM\Table(name="track_e_exercises", indexes={ * @ORM\Table(name="track_e_exercises", indexes={
* @ORM\Index(name="idx_tee_user_id", columns={"exe_user_id"}), * @ORM\Index(name="idx_tee_user_id", columns={"exe_user_id"}),

@ -11,7 +11,7 @@ use DateTime;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
/** /**
* UserRelUser. * Associations between users (friends).
* *
* @ORM\Table(name="user_rel_user", indexes={ * @ORM\Table(name="user_rel_user", indexes={
* @ORM\Index(name="idx_user_rel_user__user", columns={"user_id"}), * @ORM\Index(name="idx_user_rel_user__user", columns={"user_id"}),

@ -14,6 +14,8 @@ use Gedmo\Timestampable\Traits\TimestampableEntity;
use Symfony\Component\Validator\Constraints as Assert; use Symfony\Component\Validator\Constraints as Assert;
/** /**
* Classes and social groups.
*
* @ApiResource( * @ApiResource(
* attributes={"security"="is_granted('ROLE_ADMIN')"}, * attributes={"security"="is_granted('ROLE_ADMIN')"},
* normalizationContext={"groups"={"usergroup:read"}} * normalizationContext={"groups"={"usergroup:read"}}

Loading…
Cancel
Save