initial commit && create project in symfony3
This commit is contained in:
13
src/Mine/SeekerBundle/Controller/DefaultController.php
Normal file
13
src/Mine/SeekerBundle/Controller/DefaultController.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Mine\SeekerBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
|
||||
class DefaultController extends Controller
|
||||
{
|
||||
public function indexAction()
|
||||
{
|
||||
return $this->render('MineSeekerBundle:Default:index.html.twig');
|
||||
}
|
||||
}
|
||||
9
src/Mine/SeekerBundle/MineSeekerBundle.php
Normal file
9
src/Mine/SeekerBundle/MineSeekerBundle.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace Mine\SeekerBundle;
|
||||
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
class MineSeekerBundle extends Bundle
|
||||
{
|
||||
}
|
||||
3
src/Mine/SeekerBundle/Resources/config/routing.yml
Normal file
3
src/Mine/SeekerBundle/Resources/config/routing.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
MineSeekerBundle_homepage:
|
||||
path: /
|
||||
defaults: { _controller: MineSeekerBundle:Default:index }
|
||||
4
src/Mine/SeekerBundle/Resources/config/services.yml
Normal file
4
src/Mine/SeekerBundle/Resources/config/services.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
# mine_seeker.example:
|
||||
# class: Mine\SeekerBundle\Example
|
||||
# arguments: ["@service_id", "plain_value", %parameter%]
|
||||
@@ -0,0 +1 @@
|
||||
Hello World!
|
||||
Reference in New Issue
Block a user