|
|
|
@ -5,7 +5,6 @@ |
|
|
|
|
namespace Chamilo\CoreBundle\Entity; |
|
|
|
|
|
|
|
|
|
use ApiPlatform\Core\Annotation\ApiFilter; |
|
|
|
|
use ApiPlatform\Core\Annotation\ApiProperty; |
|
|
|
|
use ApiPlatform\Core\Annotation\ApiResource; |
|
|
|
|
use ApiPlatform\Core\Annotation\ApiSubresource; |
|
|
|
|
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\OrderFilter; |
|
|
|
@ -78,6 +77,7 @@ class ResourceNode |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @ApiSubresource() |
|
|
|
|
* |
|
|
|
|
* @var ResourceLink[] |
|
|
|
|
* |
|
|
|
|
* @ORM\OneToMany(targetEntity="ResourceLink", mappedBy="resourceNode", cascade={"persist", "remove"}) |
|
|
|
|