Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
technobel.sf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mathieu
technobel.sf
Commits
f81270c1
Commit
f81270c1
authored
Jul 02, 2018
by
Mat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WEBSOCKET avec Khun, création nouveau WebsocketBundle
parent
971d4bb1
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
1 deletion
+40
-1
app/AppKernel.php
app/AppKernel.php
+1
-0
app/config/config.yml
app/config/config.yml
+1
-0
app/config/routing.yml
app/config/routing.yml
+5
-0
composer.json
composer.json
+2
-1
src/SocketBundle/Controller/DefaultController.php
src/SocketBundle/Controller/DefaultController.php
+17
-0
src/SocketBundle/Resources/config/services.yml
src/SocketBundle/Resources/config/services.yml
+4
-0
src/SocketBundle/Resources/views/Default/index.html.twig
src/SocketBundle/Resources/views/Default/index.html.twig
+1
-0
src/SocketBundle/SocketBundle.php
src/SocketBundle/SocketBundle.php
+9
-0
No files found.
app/AppKernel.php
View file @
f81270c1
...
...
@@ -22,6 +22,7 @@ class AppKernel extends Kernel
new
JMS\SerializerBundle\JMSSerializerBundle
(),
new
FOS\JsRoutingBundle\FOSJsRoutingBundle
(),
new
FOS\UserBundle\FOSUserBundle
(),
new
SocketBundle\SocketBundle
(),
];
if
(
in_array
(
$this
->
getEnvironment
(),
[
'dev'
,
'test'
],
true
))
{
...
...
app/config/config.yml
View file @
f81270c1
...
...
@@ -5,6 +5,7 @@ imports:
-
{
resource
:
"
@TechnoBundle/Resources/config/services.yml"
}
-
{
resource
:
"
@AssoBundle/Resources/config/services.yml"
}
-
{
resource
:
"
@APIBundle/Resources/config/services.yml"
}
-
{
resource
:
"
@SocketBundle/Resources/config/services.yml"
}
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
...
...
app/config/routing.yml
View file @
f81270c1
socket
:
resource
:
"
@SocketBundle/Controller/"
type
:
annotation
prefix
:
/socket
fos_js_routing
:
resource
:
"
@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
...
...
composer.json
100755 → 100644
View file @
f81270c1
...
...
@@ -6,7 +6,8 @@
"psr-4"
:
{
"TechnoBundle\\"
:
"src/TechnoBundle"
,
"AssoBundle\\"
:
"src/AssoBundle"
,
"APIBundle\\"
:
"src/APIBundle"
"APIBundle\\"
:
"src/APIBundle"
,
"SocketBundle\\"
:
"src/SocketBundle"
},
"classmap"
:
[
"app/AppKernel.php"
,
...
...
src/SocketBundle/Controller/DefaultController.php
0 → 100644
View file @
f81270c1
<?php
namespace
SocketBundle\Controller
;
use
Symfony\Bundle\FrameworkBundle\Controller\Controller
;
use
Sensio\Bundle\FrameworkExtraBundle\Configuration\Route
;
class
DefaultController
extends
Controller
{
/**
* @Route("/")
*/
public
function
indexAction
()
{
return
$this
->
render
(
'SocketBundle:Default:index.html.twig'
);
}
}
src/SocketBundle/Resources/config/services.yml
0 → 100644
View file @
f81270c1
services
:
# socket.example:
# class: SocketBundle\Example
# arguments: ["@service_id", "plain_value", "%parameter%"]
src/SocketBundle/Resources/views/Default/index.html.twig
0 → 100644
View file @
f81270c1
Hello World!
src/SocketBundle/SocketBundle.php
0 → 100644
View file @
f81270c1
<?php
namespace
SocketBundle
;
use
Symfony\Component\HttpKernel\Bundle\Bundle
;
class
SocketBundle
extends
Bundle
{
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment