raphael 3 years ago
parent
commit
0aff209c38

+ 3
- 3
Components/ApiLayer/ApiLayer.php View File

@@ -1,13 +1,13 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Components\ApiLayer;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Components\ApiLayer;
3 3
 
4 4
 use Symfony\Component\HttpClient\HttpClient;
5 5
 use Symfony\Component\HttpClient\Exception\TransportException;
6 6
 
7 7
 use Logipro\Phoenix\Entity\Person\Trainer;
8 8
 use Logipro\Phoenix\Entity\Person\Person;
9
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterToken;
10
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
9
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterToken;
10
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
11 11
 use Logipro\Phoenix\Component\PhxFileGuesser;
12 12
 
13 13
 class ApiLayer

+ 1
- 1
Components/ButtonLayer.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Components;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Components;
3 3
 
4 4
 class ButtonLayer
5 5
 {

+ 1
- 1
Components/FormLayer.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Components;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Components;
3 3
 
4 4
 class FormLayer
5 5
 {

+ 1
- 1
Components/ModalLayer.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Components;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Components;
3 3
 
4 4
 class ModalLayer extends FormLayer
5 5
 {

+ 11
- 11
Controller/BackOffice/JupyterVirtualClassroomController.php View File

@@ -1,18 +1,18 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Controller\BackOffice;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\Controller\BackOffice;
4 4
 
5 5
 //use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
6 6
 
7
-use Logipro\Bundle\PhoenixLpJupyterBundle\Form\JupyterCreateType;
8
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
9
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ModalLayer;
10
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\FormLayer;
11
-use Logipro\Bundle\PhoenixLpJupyterBundle\Form\JupyterUpdateType;
12
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterToken;
13
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ApiLayer\ApiLayer;
14
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterClassroomRegistration;
15
-use Logipro\Bundle\PhoenixLpJupyterBundle\Controller\JupyterVirtualClassroomTrait;
7
+use Logipro\Bundle\PhoenixJupyterBundle\Form\JupyterCreateType;
8
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
9
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ModalLayer;
10
+use Logipro\Bundle\PhoenixJupyterBundle\Components\FormLayer;
11
+use Logipro\Bundle\PhoenixJupyterBundle\Form\JupyterUpdateType;
12
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterToken;
13
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ApiLayer\ApiLayer;
14
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterClassroomRegistration;
15
+use Logipro\Bundle\PhoenixJupyterBundle\Controller\JupyterVirtualClassroomTrait;
16 16
 
17 17
 use Symfony\Component\Form\FormInterface;
18 18
 use Symfony\Component\HttpFoundation\Request;
@@ -29,7 +29,7 @@ class JupyterVirtualClassroomController extends AppController
29 29
 {
30 30
 	use JupyterVirtualClassroomTrait;
31 31
 
32
-	private $layoutPath = '@LogiproPhoenixLpJupyter/back-office/';
32
+	private $layoutPath = '@LogiproPhoenixJupyter/back-office/';
33 33
 
34 34
 	/**
35 35
 	 * initialise le formulaire de création

+ 3
- 3
Controller/JupyterVirtualClassroomTrait.php View File

@@ -1,11 +1,11 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Controller;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\Controller;
4 4
 
5 5
 use Logipro\Phoenix\Entity\Person\Person;
6 6
 
7
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ApiLayer\ApiLayer;
8
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterToken;
7
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ApiLayer\ApiLayer;
8
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterToken;
9 9
 
10 10
 trait JupyterVirtualClassroomTrait
11 11
 {

+ 11
- 11
Controller/LearningSpace/JupyterVirtualClassroomController.php View File

@@ -1,19 +1,19 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Controller\LearningSpace;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\Controller\LearningSpace;
4 4
 
5 5
 //use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
6 6
 use Logipro\Phoenix\Controller\LearningSpace\LearningSpaceController;
7 7
 
8
-use Logipro\Bundle\PhoenixLpJupyterBundle\Form\JupyterCreateType;
9
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
10
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ModalLayer;
11
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\FormLayer;
12
-use Logipro\Bundle\PhoenixLpJupyterBundle\Form\JupyterUpdateType;
13
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterToken;
14
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ApiLayer\ApiLayer;
15
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterClassroomRegistration;
16
-use Logipro\Bundle\PhoenixLpJupyterBundle\Controller\JupyterVirtualClassroomTrait;
8
+use Logipro\Bundle\PhoenixJupyterBundle\Form\JupyterCreateType;
9
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
10
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ModalLayer;
11
+use Logipro\Bundle\PhoenixJupyterBundle\Components\FormLayer;
12
+use Logipro\Bundle\PhoenixJupyterBundle\Form\JupyterUpdateType;
13
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterToken;
14
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ApiLayer\ApiLayer;
15
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterClassroomRegistration;
16
+use Logipro\Bundle\PhoenixJupyterBundle\Controller\JupyterVirtualClassroomTrait;
17 17
 
18 18
 use Symfony\Component\Form\FormInterface;
19 19
 use Symfony\Component\HttpFoundation\Request;
@@ -31,7 +31,7 @@ class JupyterVirtualClassroomController extends LearningSpaceController
31 31
 {
32 32
 	use JupyterVirtualClassroomTrait;
33 33
 	
34
-	private $layoutPath = '@PhoenixLpJupyter/learning_space/';
34
+	private $layoutPath = '@PhoenixJupyter/learning_space/';
35 35
 
36 36
 	/**
37 37
 	 * retourne le contenu d'un notebook et gère le demarrage arrêt du serveur

DependencyInjection/LogiproPhoenixLPJupyterExtension.php → DependencyInjection/LogiproPhoenixJupyterExtension.php View File

@@ -1,13 +1,13 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\DependencyInjection;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\DependencyInjection;
4 4
 
5 5
 use Symfony\Component\Config\FileLocator;
6 6
 use Symfony\Component\DependencyInjection\ContainerBuilder;
7 7
 use Symfony\Component\DependencyInjection\Extension\Extension;
8 8
 use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
9 9
 
10
-class LogiproPhoenixLpJupyterExtension extends Extension
10
+class LogiproPhoenixJupyterExtension extends Extension
11 11
 {
12 12
     public function load(array $configs, ContainerBuilder $container)
13 13
     {

+ 2
- 2
Entity/JupyterClassroomRegistration.php View File

@@ -1,12 +1,12 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Entity;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6 6
 use Logipro\Phoenix\Entity\SequenceItem\SequenceItem;
7 7
 use Logipro\Phoenix\Entity\Person\Person;
8 8
 
9
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
9
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
10 10
 
11 11
 class JupyterClassroomRegistration
12 12
 {

+ 1
- 1
Entity/JupyterToken.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Entity;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6 6
 use Logipro\Phoenix\Entity\Person;

+ 1
- 1
Entity/JupyterVirtualClassroom.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Entity;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6 6
 use Logipro\Phoenix\Entity\SequenceItem\SequenceItem;

+ 4
- 4
EntityListener/JupyterEventListener.php View File

@@ -1,13 +1,13 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\EntityListener;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\EntityListener;
3 3
 
4 4
 use Doctrine\ORM\Event\args;
5 5
 use Doctrine\ORM\Event\LifecycleEventArgs;
6 6
 use Doctrine\Common\Collections\ArrayCollection;
7 7
 
8
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
9
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ApiLayer\ApiLayer;
10
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterToken;
8
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
9
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ApiLayer\ApiLayer;
10
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterToken;
11 11
 use Doctrine\ORM\Event\PostFlushEventArgs;
12 12
 /**
13 13
  * Event listener relatif aux entités constituant le learningPath.

+ 4
- 4
EntityListener/JupyterVirtualClassroomListener.php View File

@@ -1,14 +1,14 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\EntityListener;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\EntityListener;
3 3
 
4 4
 use Doctrine\ORM\Event\args;
5 5
 use Doctrine\ORM\Event\LifecycleEventArgs;
6 6
 use Doctrine\ORM\Event\PostFlushEventArgs;
7 7
 use Doctrine\Common\Collections\ArrayCollection;
8 8
 
9
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
10
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ApiLayer\ApiLayer;
11
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterToken;
9
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
10
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ApiLayer\ApiLayer;
11
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterToken;
12 12
 
13 13
 /**
14 14
  * Event listener relatif aux entités constituant le learningPath.

+ 1
- 1
Form/JupyterCreateType.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Form;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Form;
3 3
 
4 4
 use Symfony\Component\Form\AbstractType;
5 5
 use Symfony\Component\Form\FormBuilderInterface;

+ 2
- 2
Form/JupyterUpdateType.php View File

@@ -1,5 +1,5 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Form;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Form;
3 3
 
4 4
 use Symfony\Component\Form\AbstractType;
5 5
 use Symfony\Component\Form\FormBuilderInterface;
@@ -9,7 +9,7 @@ use Symfony\Component\Form\Extension\Core\Type\FileType;
9 9
 
10 10
 use Logipro\Phoenix\Form\SequenceItem2\SequenceItemUpdateType;
11 11
 use Logipro\Phoenix\Form\RemoteSelectType\RemoteSelectType;
12
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
12
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
13 13
 use Logipro\Phoenix\Form\SwitchType;
14 14
 
15 15
 use Symfony\Component\Form\Extension\Core\Type\DateIntervalType;

+ 11
- 0
LogiproPhoenixJupyterBundle.php View File

@@ -0,0 +1,11 @@
1
+<?php
2
+
3
+namespace Logipro\Bundle\PhoenixJupyterBundle;
4
+
5
+use Symfony\Component\HttpKernel\Bundle\Bundle;
6
+use Logipro\Bundle\PhoenixJupyterBundle\Components\Button;
7
+use Logipro\Bundle\PhoenixJupyterBundle\DependencyInjection\PhoenixExtension;
8
+
9
+class LogiproPhoenixJupyterBundle extends Bundle
10
+{
11
+}

+ 0
- 11
LogiproPhoenixLPJupyterBundle.php View File

@@ -1,11 +0,0 @@
1
-<?php
2
-
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle;
4
-
5
-use Symfony\Component\HttpKernel\Bundle\Bundle;
6
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\Button;
7
-use Logipro\Bundle\PhoenixLpJupyterBundle\DependencyInjection\PhoenixExtension;
8
-
9
-class LogiproPhoenixLpJupyterBundle extends Bundle
10
-{
11
-}

+ 2
- 2
Repository/JupyterClassroomRegistrationRepository.php View File

@@ -1,10 +1,10 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Repository;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Repository;
3 3
 
4 4
 use Symfony\Bridge\Doctrine\RegistryInterface;
5 5
 
6 6
 use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
7
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterClassroomRegistration;
7
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterClassroomRegistration;
8 8
 
9 9
 class JupyterClassroomRegistrationRepository extends ServiceEntityRepository
10 10
 {

+ 2
- 2
Repository/JupyterTokenRepository.php View File

@@ -1,10 +1,10 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Repository;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Repository;
3 3
 
4 4
 use Symfony\Bridge\Doctrine\RegistryInterface;
5 5
 
6 6
 use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
7
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterToken;
7
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterToken;
8 8
 
9 9
 class JupyterTokenRepository extends ServiceEntityRepository
10 10
 {

+ 2
- 2
Repository/JupyterVirtualClassroomRepository.php View File

@@ -1,11 +1,11 @@
1 1
 <?php
2
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Repository;
2
+namespace Logipro\Bundle\PhoenixJupyterBundle\Repository;
3 3
 
4 4
 use Symfony\Bridge\Doctrine\RegistryInterface;
5 5
 
6 6
 use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
7 7
 use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryInterface;
8
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
8
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
9 9
 
10 10
 class JupyterVirtualClassroomRepository extends ServiceEntityRepository
11 11
 {

+ 3
- 3
Resources/config/doctrine/JupyterClassroomRegistration.orm.xml View File

@@ -4,8 +4,8 @@
4 4
 	xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
5 5
 		http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
6 6
 
7
-	<entity name="Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterClassroomRegistration" table="phx_jupyter_classroom_registration"
8
-	repository-class="Logipro\Bundle\PhoenixLpJupyterBundle\Repository\JupyterClassroomRegistrationRepository">
7
+	<entity name="Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterClassroomRegistration" table="phx_jupyter_classroom_registration"
8
+	repository-class="Logipro\Bundle\PhoenixJupyterBundle\Repository\JupyterClassroomRegistrationRepository">
9 9
 
10 10
 	<id name="jupyterClassroomRegistrationId" column="phx_jupyter_classroom_registration_id" type="integer">
11 11
 		<generator strategy="AUTO" />
@@ -16,7 +16,7 @@
16 16
 			<cascade-remove />
17 17
 		</cascade>
18 18
 	</many-to-one>
19
-	<many-to-one field="jupyterVirtualClassroom" target-entity="Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom">
19
+	<many-to-one field="jupyterVirtualClassroom" target-entity="Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom">
20 20
 		<join-column name="jupyter_virtual_classroom_fk" referenced-column-name="sequence_item_id" nullable="false" />
21 21
 		<cascade>
22 22
 			<cascade-remove />

+ 2
- 2
Resources/config/doctrine/JupyterToken.orm.xml View File

@@ -4,8 +4,8 @@
4 4
 	xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
5 5
 		http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
6 6
 
7
-	<entity name="Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterToken" table="phx_jupyter_token"
8
-	repository-class="Logipro\Bundle\PhoenixLpJupyterBundle\Repository\JupyterTokenRepository">
7
+	<entity name="Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterToken" table="phx_jupyter_token"
8
+	repository-class="Logipro\Bundle\PhoenixJupyterBundle\Repository\JupyterTokenRepository">
9 9
 
10 10
 	<id name="tokenId" column="token_id" type="integer">
11 11
 		<generator strategy="AUTO" />

+ 4
- 4
Resources/config/doctrine/JupyterVirtualClassroom.orm.xml View File

@@ -4,8 +4,8 @@
4 4
 	xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
5 5
 		http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
6 6
 
7
-	<entity name="Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom" table="phx_jupyter_virtual_classroom"
8
-	repository-class="Logipro\Bundle\PhoenixLpJupyterBundle\Repository\JupyterVirtualClassroomRepository">
7
+	<entity name="Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom" table="phx_jupyter_virtual_classroom"
8
+	repository-class="Logipro\Bundle\PhoenixJupyterBundle\Repository\JupyterVirtualClassroomRepository">
9 9
 
10 10
 	<field name="name" column="name" type="string" length="255" nullable="true" />
11 11
 	<field name="url" column="url" type="string" length="255" nullable="true" />
@@ -15,7 +15,7 @@
15 15
 		<join-column name="trainer_fk" referenced-column-name="person_id" nullable="true"/>
16 16
 	</many-to-one>
17 17
 
18
-	<one-to-many field="classroomRegistration" target-entity="Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterClassroomRegistration" mapped-by="jupyterVirtualClassroom" fetch="EXTRA_LAZY">
18
+	<one-to-many field="classroomRegistration" target-entity="Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterClassroomRegistration" mapped-by="jupyterVirtualClassroom" fetch="EXTRA_LAZY">
19 19
 		<cascade>
20 20
 			<cascade-remove />
21 21
 		</cascade>
@@ -28,7 +28,7 @@
28 28
         </options>
29 29
     </field>
30 30
 	<entity-listeners>
31
-		<entity-listener class="Logipro\Bundle\PhoenixLpJupyterBundle\EntityListener\JupyterVirtualClassroomListener" />
31
+		<entity-listener class="Logipro\Bundle\PhoenixJupyterBundle\EntityListener\JupyterVirtualClassroomListener" />
32 32
 	</entity-listeners>
33 33
 	</entity>
34 34
 </doctrine-mapping>

+ 2
- 2
Resources/config/routes.yaml View File

@@ -3,12 +3,12 @@
3 3
 #-------------------------------------------------------------------------------
4 4
 open_trainer_jupyter_classroom:
5 5
   path: /jupyter/trainer/open/{jupyterVirtualClassroomId}
6
-  controller: Logipro\Bundle\PhoenixLpJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController::openTrainerJupyterVirtualClassroom
6
+  controller: Logipro\Bundle\PhoenixJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController::openTrainerJupyterVirtualClassroom
7 7
   requirements:
8 8
     template_path: '.*'
9 9
 
10 10
 open_student_jupyter_classroom:
11 11
   path: /learning-space/jupyter/student/open/{jupyterVirtualClassroomId}
12
-  controller: Logipro\Bundle\PhoenixLpJupyterBundle\Controller\LearningSpace\JupyterVirtualClassroomController::openStudentJupyterVirtualClassroom
12
+  controller: Logipro\Bundle\PhoenixJupyterBundle\Controller\LearningSpace\JupyterVirtualClassroomController::openStudentJupyterVirtualClassroom
13 13
   requirements:
14 14
     template_path: '.*'

+ 4
- 4
Resources/config/services.yaml View File

@@ -8,22 +8,22 @@ services:
8 8
                         # The best practice is to be explicit about your dependencies anyway.
9 9
 
10 10
   phoenix.bundle.learningpath.jupyter:
11
-    class: Logipro\Bundle\PhoenixLpJupyterBundle\Services\PhoenixServices
11
+    class: Logipro\Bundle\PhoenixJupyterBundle\Services\PhoenixServices
12 12
     public: true
13 13
     arguments: ['@service_container']
14 14
 
15 15
   # Contrôleurs
16
-  Logipro\Bundle\PhoenixLpJupyterBundle\Controller\:
16
+  Logipro\Bundle\PhoenixJupyterBundle\Controller\:
17 17
     resource: '../../Controller/*'
18 18
     tags: [controller.service_arguments]
19 19
     calls:
20 20
         - [ setContainer, [ '@service_container' ]]
21 21
         
22 22
   # Repositories
23
-  Logipro\Bundle\PhoenixLpJupyterBundle\Repository\:
23
+  Logipro\Bundle\PhoenixJupyterBundle\Repository\:
24 24
     resource: '../../Repository/*'
25 25
 
26
-  Logipro\Bundle\PhoenixLpJupyterBundle\EntityListener\JupyterEventListener:
26
+  Logipro\Bundle\PhoenixJupyterBundle\EntityListener\JupyterEventListener:
27 27
     tags:
28 28
        - { name: "doctrine.event_listener",  event: "postPersist" }
29 29
        - { name: "doctrine.event_listener",  event: "postFlush" }

+ 13
- 13
Services/PhoenixServices.php View File

@@ -1,14 +1,14 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Services;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\Services;
4 4
 
5
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ButtonLayer;
6
-use Logipro\Bundle\PhoenixLpJupyterBundle\Form\JupyterCreateType;
7
-use Logipro\Bundle\PhoenixLpJupyterBundle\Entity\JupyterVirtualClassroom;
5
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ButtonLayer;
6
+use Logipro\Bundle\PhoenixJupyterBundle\Form\JupyterCreateType;
7
+use Logipro\Bundle\PhoenixJupyterBundle\Entity\JupyterVirtualClassroom;
8 8
 
9 9
 use Symfony\Component\HttpFoundation\Request;
10
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\ModalLayer;
11
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\FormLayer;
10
+use Logipro\Bundle\PhoenixJupyterBundle\Components\ModalLayer;
11
+use Logipro\Bundle\PhoenixJupyterBundle\Components\FormLayer;
12 12
 
13 13
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
14 14
 
@@ -60,7 +60,7 @@ class PhoenixServices extends Services
60 60
      */
61 61
     public function getModalAdd() : ModalLayer
62 62
     {
63
-        $controller = $this->container->get('Logipro\Bundle\PhoenixLpJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController');
63
+        $controller = $this->container->get('Logipro\Bundle\PhoenixJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController');
64 64
         return $controller->getModalAdd();
65 65
     }
66 66
 
@@ -75,7 +75,7 @@ class PhoenixServices extends Services
75 75
      */
76 76
     public function validateModalAdd(Request $request,$sequence,$order)
77 77
     {
78
-        $controller = $this->container->get('Logipro\Bundle\PhoenixLpJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController');
78
+        $controller = $this->container->get('Logipro\Bundle\PhoenixJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController');
79 79
         return $controller->validateModalAdd($request,$sequence,$order);
80 80
     }
81 81
 
@@ -92,14 +92,14 @@ class PhoenixServices extends Services
92 92
             'imageClass' => 'ali-EditorJupiterEdit',
93 93
             'image' => "bundles/logiprophoenixlpjupyter/images/icon-jupiter.svg",
94 94
             'description' => 'toto',
95
-            'bottom_layout' => '@LogiproPhoenixLpJupyter/back-office/blocBottom.html.twig'
95
+            'bottom_layout' => '@LogiproPhoenixJupyter/back-office/blocBottom.html.twig'
96 96
         );
97 97
     }
98 98
 
99 99
     public function getLearningSpaceBlocVariables($item)
100 100
     {
101 101
         return array(
102
-            'middle_layout' => '@LogiproPhoenixLpJupyter/learning_space/blocMiddle.html.twig',
102
+            'middle_layout' => '@LogiproPhoenixJupyter/learning_space/blocMiddle.html.twig',
103 103
             'image' => "bundles/logiprophoenixlpjupyter/images/icon-ls-jupiter.svg",
104 104
             'type' => 'Jupyter',
105 105
             'notebookname' => basename($item->getUrl())
@@ -115,18 +115,18 @@ class PhoenixServices extends Services
115 115
      */
116 116
     public function getHtmlEdit(JupyterVirtualClassroom $jupiterVirtualClassroom) : FormLayer
117 117
     {
118
-        $controller = $this->container->get('Logipro\Bundle\PhoenixLpJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController');
118
+        $controller = $this->container->get('Logipro\Bundle\PhoenixJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController');
119 119
         return $controller->getHtmlEdit($jupiterVirtualClassroom);
120 120
     }
121 121
 
122 122
     public function getRoutes()
123 123
     {
124
-        return '@LogiproPhoenixLpJupyterBundle/Resources/config/routes.yaml';
124
+        return '@LogiproPhoenixJupyterBundle/Resources/config/routes.yaml';
125 125
     }
126 126
 
127 127
     public function preFlush($request,$form,$sequenceItem)
128 128
     {
129
-        $controller = $this->container->get('Logipro\Bundle\PhoenixLpJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController');
129
+        $controller = $this->container->get('Logipro\Bundle\PhoenixJupyterBundle\Controller\BackOffice\JupyterVirtualClassroomController');
130 130
         return $controller->manageUpdate($request,$form,$sequenceItem);
131 131
     }
132 132
 }

+ 2
- 2
Services/Services.php View File

@@ -1,12 +1,12 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\Bundle\PhoenixLpJupyterBundle\Services;
3
+namespace Logipro\Bundle\PhoenixJupyterBundle\Services;
4 4
 
5 5
 use Symfony\Component\DependencyInjection\ContainerAwareTrait;
6 6
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
7 7
 use Symfony\Component\DependencyInjection\ContainerInterface;
8 8
 
9
-use Logipro\Bundle\PhoenixLpJupyterBundle\Components\Button;
9
+use Logipro\Bundle\PhoenixJupyterBundle\Components\Button;
10 10
 
11 11
 abstract class Services
12 12
 implements ContainerAwareInterface

+ 2
- 2
composer.json View File

@@ -1,5 +1,5 @@
1 1
 {
2
-    "name": "logipro/PhoenixLpJupyterBundle",
2
+    "name": "logipro/PhoenixJupyterBundle",
3 3
     "description": "Bundle example for Phoenix",
4 4
     "license": "MIT",
5 5
     "type": "symfony-bundle",
@@ -42,7 +42,7 @@
42 42
     },
43 43
     "autoload": {
44 44
         "psr-4": {
45
-            "Logipro\\Bundle\\PhoenixLpJupyterBundle\\": ""
45
+            "Logipro\\Bundle\\PhoenixJupyterBundle\\": ""
46 46
         }
47 47
     }
48 48
 }

Loading…
Cancel
Save