mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
move WallabagBundle into Wallabag:CoreBundle
This commit is contained in:
parent
b84a80559a
commit
ad4d1caa9e
40 changed files with 67 additions and 62 deletions
|
@ -17,7 +17,7 @@ class AppKernel extends Kernel
|
||||||
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
|
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
|
||||||
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
|
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
|
||||||
new AppBundle\AppBundle(),
|
new AppBundle\AppBundle(),
|
||||||
new WallabagBundle\WallabagBundle(),
|
new Wallabag\CoreBundle\WallabagCoreBundle(),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
|
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
app:
|
app:
|
||||||
resource: @WallabagBundle/Controller/
|
resource: @WallabagCoreBundle/Controller/
|
||||||
type: annotation
|
type: annotation
|
||||||
|
|
||||||
homepage:
|
homepage:
|
||||||
pattern: /
|
pattern: /
|
||||||
defaults: { _controller: WallabagBundle:Entry:showUnread }
|
defaults: { _controller: CoreBundle:Entry:showUnread }
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Controller;
|
namespace Wallabag\CoreBundle\Controller;
|
||||||
|
|
||||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use WallabagBundle\Repository;
|
use Wallabag\CoreBundle\Repository;
|
||||||
use WallabagBundle\Entity\Entries;
|
use Wallabag\CoreBundle\Entity\Entries;
|
||||||
use Wallabag\Wallabag\Tools;
|
use Wallabag\Wallabag\Tools;
|
||||||
use Wallabag\Wallabag\Url;
|
use Wallabag\Wallabag\Url;
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ class EntryController extends Controller
|
||||||
return $this->redirect($this->generateUrl('homepage'));
|
return $this->redirect($this->generateUrl('homepage'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->render('WallabagBundle:Entry:new.html.twig', array(
|
return $this->render('WallabagCoreBundle:Entry:new.html.twig', array(
|
||||||
'form' => $form->createView(),
|
'form' => $form->createView(),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -60,11 +60,11 @@ class EntryController extends Controller
|
||||||
*/
|
*/
|
||||||
public function showUnreadAction()
|
public function showUnreadAction()
|
||||||
{
|
{
|
||||||
$repository = $this->getDoctrine()->getRepository('WallabagBundle:Entries');
|
$repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries');
|
||||||
$entries = $repository->findUnreadByUser(1, 0);
|
$entries = $repository->findUnreadByUser(1, 0);
|
||||||
|
|
||||||
return $this->render(
|
return $this->render(
|
||||||
'WallabagBundle:Entry:entries.html.twig',
|
'WallabagCoreBundle:Entry:entries.html.twig',
|
||||||
array('entries' => $entries)
|
array('entries' => $entries)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -77,11 +77,11 @@ class EntryController extends Controller
|
||||||
*/
|
*/
|
||||||
public function showArchiveAction()
|
public function showArchiveAction()
|
||||||
{
|
{
|
||||||
$repository = $this->getDoctrine()->getRepository('WallabagBundle:Entries');
|
$repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries');
|
||||||
$entries = $repository->findArchiveByUser(1, 0);
|
$entries = $repository->findArchiveByUser(1, 0);
|
||||||
|
|
||||||
return $this->render(
|
return $this->render(
|
||||||
'WallabagBundle:Entry:entries.html.twig',
|
'WallabagCoreBundle:Entry:entries.html.twig',
|
||||||
array('entries' => $entries)
|
array('entries' => $entries)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -94,11 +94,11 @@ class EntryController extends Controller
|
||||||
*/
|
*/
|
||||||
public function showStarredAction()
|
public function showStarredAction()
|
||||||
{
|
{
|
||||||
$repository = $this->getDoctrine()->getRepository('WallabagBundle:Entries');
|
$repository = $this->getDoctrine()->getRepository('WallabagCoreBundle:Entries');
|
||||||
$entries = $repository->findStarredByUser(1, 0);
|
$entries = $repository->findStarredByUser(1, 0);
|
||||||
|
|
||||||
return $this->render(
|
return $this->render(
|
||||||
'WallabagBundle:Entry:entries.html.twig',
|
'WallabagCoreBundle:Entry:entries.html.twig',
|
||||||
array('entries' => $entries)
|
array('entries' => $entries)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -113,7 +113,7 @@ class EntryController extends Controller
|
||||||
public function viewAction(Entries $entry)
|
public function viewAction(Entries $entry)
|
||||||
{
|
{
|
||||||
return $this->render(
|
return $this->render(
|
||||||
'WallabagBundle:Entry:entry.html.twig',
|
'WallabagCoreBundle:Entry:entry.html.twig',
|
||||||
array('entry' => $entry)
|
array('entry' => $entry)
|
||||||
);
|
);
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Controller;
|
namespace Wallabag\CoreBundle\Controller;
|
||||||
|
|
||||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||||
|
@ -13,7 +13,7 @@ class StaticController extends Controller
|
||||||
public function aboutAction()
|
public function aboutAction()
|
||||||
{
|
{
|
||||||
return $this->render(
|
return $this->render(
|
||||||
'WallabagBundle:Static:about.html.twig',
|
'WallabagCoreBundle:Static:about.html.twig',
|
||||||
array()
|
array()
|
||||||
);
|
);
|
||||||
}
|
}
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\DependencyInjection;
|
namespace Wallabag\CoreBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
||||||
use Symfony\Component\Config\FileLocator;
|
use Symfony\Component\Config\FileLocator;
|
||||||
|
|
||||||
class WallabagExtension extends Extension
|
class WallabagCoreExtension extends Extension
|
||||||
{
|
{
|
||||||
public function load(array $configs, ContainerBuilder $container)
|
public function load(array $configs, ContainerBuilder $container)
|
||||||
{
|
{
|
||||||
|
@ -17,6 +17,6 @@ class WallabagExtension extends Extension
|
||||||
|
|
||||||
public function getAlias()
|
public function getAlias()
|
||||||
{
|
{
|
||||||
return 'wallabag';
|
return 'wallabag_core';
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Entity;
|
namespace Wallabag\CoreBundle\Entity;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Entity;
|
namespace Wallabag\CoreBundle\Entity;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
use Symfony\Component\Validator\Constraints as Assert;
|
use Symfony\Component\Validator\Constraints as Assert;
|
||||||
|
@ -8,7 +8,7 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||||
/**
|
/**
|
||||||
* Entries
|
* Entries
|
||||||
*
|
*
|
||||||
* @ORM\Entity(repositoryClass="WallabagBundle\Repository\EntriesRepository")
|
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\EntriesRepository")
|
||||||
* @ORM\Table(name="entries")
|
* @ORM\Table(name="entries")
|
||||||
*/
|
*/
|
||||||
class Entries
|
class Entries
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Entity;
|
namespace Wallabag\CoreBundle\Entity;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Entity;
|
namespace Wallabag\CoreBundle\Entity;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Entity;
|
namespace Wallabag\CoreBundle\Entity;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Entity;
|
namespace Wallabag\CoreBundle\Entity;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Repository;
|
namespace Wallabag\CoreBundle\Repository;
|
||||||
|
|
||||||
use Doctrine\ORM\Query;
|
use Doctrine\ORM\Query;
|
||||||
use Doctrine\ORM\EntityRepository;
|
use Doctrine\ORM\EntityRepository;
|
3
src/Wallabag/CoreBundle/Resources/config/routing.yml
Normal file
3
src/Wallabag/CoreBundle/Resources/config/routing.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
_wllbg:
|
||||||
|
resource: "@WallabagCoreBundle/Controller/EntryController.php"
|
||||||
|
type: annotation
|
|
@ -5,8 +5,13 @@
|
||||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||||
|
|
||||||
<services>
|
<services>
|
||||||
<service id="wallabag.twig.extension.wallabag_extension" class="WallabagBundle\Twig\Extension\WallabagExtension">
|
<service id="wallabag_core.twig.wallabag" class="Wallabag\CoreBundle\Twig\Extension\WallabagExtension">
|
||||||
<tag name="twig.extension" />
|
<tag name="twig.extension" />
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</container>
|
</container>
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{% extends "WallabagBundle::layout.html.twig" %}
|
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
||||||
|
|
||||||
{% block title "Unread" %}
|
{% block title "Unread" %}
|
||||||
|
|
||||||
{% block menu %}
|
{% block menu %}
|
||||||
{% include "WallabagBundle::_menu.html.twig" %}
|
{% include "WallabagCoreBundle::_menu.html.twig" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
|
@ -1,9 +1,9 @@
|
||||||
{% extends "WallabagBundle::layout.html.twig" %}
|
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{{ entry.title|raw }} ({{ entry.url | e | domainName }}){% endblock %}
|
{% block title %}{{ entry.title|raw }} ({{ entry.url | e | domainName }}){% endblock %}
|
||||||
|
|
||||||
{% block menu %}
|
{% block menu %}
|
||||||
{% include "WallabagBundle::_menu.html.twig" %}
|
{% include "WallabagCoreBundle::_menu.html.twig" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
@ -21,9 +21,9 @@
|
||||||
{# {% if flattr %}{% if flattr.status == flattrable %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans %}flattr{% endtrans %}"><span>{% trans %}flattr{% endtrans %}</span></a></li>{% elseif flattr.status == flattred %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans %}flattr{% endtrans %}><span>{% trans %}flattr{% endtrans %}</span> ({{ flattr.numFlattrs }})</a></li>{% endif %}{% endif %} #}
|
{# {% if flattr %}{% if flattr.status == flattrable %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans %}flattr{% endtrans %}"><span>{% trans %}flattr{% endtrans %}</span></a></li>{% elseif flattr.status == flattred %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans %}flattr{% endtrans %}><span>{% trans %}flattr{% endtrans %}</span> ({{ flattr.numFlattrs }})</a></li>{% endif %}{% endif %} #}
|
||||||
{% if carrot %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon-image icon-image--carrot" target="_blank" title="{% trans %}carrot{% endtrans %}"><span>Carrot</span></a></li>{% endif %}
|
{% if carrot %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon-image icon-image--carrot" target="_blank" title="{% trans %}carrot{% endtrans %}"><span>Carrot</span></a></li>{% endif %}
|
||||||
{% if show_printlink %}<li><a title="{% trans %}Print{% endtrans %}" class="tool icon icon-print" href="javascript: window.print();"><span>{% trans %}Print{% endtrans %}</span></a></li>{% endif %}
|
{% if show_printlink %}<li><a title="{% trans %}Print{% endtrans %}" class="tool icon icon-print" href="javascript: window.print();"><span>{% trans %}Print{% endtrans %}</span></a></li>{% endif %}
|
||||||
{% if export_epub %}<li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %}
|
{% if export_epub %}<li><a href="?epub&method=id&value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %}
|
||||||
{% if export_mobi %}<li><a href="./?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %}
|
{% if export_mobi %}<li><a href="?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %}
|
||||||
{% if export_pdf %}<li><a href="./?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %}
|
{% if export_pdf %}<li><a href="?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %}
|
||||||
<li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans %}Does this article appear wrong?{% endtrans %}" class="tool bad-display icon icon-delete"><span>{% trans %}Does this article appear wrong?{% endtrans %}</span></a></li>
|
<li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans %}Does this article appear wrong?{% endtrans %}" class="tool bad-display icon icon-delete"><span>{% trans %}Does this article appear wrong?{% endtrans %}</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
|
@ -1,9 +1,9 @@
|
||||||
{% extends "WallabagBundle::layout.html.twig" %}
|
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{% trans %}Save new entry{% endtrans %}{% endblock %}
|
{% block title %}{% trans %}Save new entry{% endtrans %}{% endblock %}
|
||||||
|
|
||||||
{% block menu %}
|
{% block menu %}
|
||||||
{% include "WallabagBundle::_menu.html.twig" %}
|
{% include "WallabagCoreBundle::_menu.html.twig" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
|
@ -1,8 +1,8 @@
|
||||||
{% extends "WallabagBundle::layout.html.twig" %}
|
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{% trans %}About{% endtrans %}{% endblock %}
|
{% block title %}{% trans %}About{% endtrans %}{% endblock %}
|
||||||
{% block menu %}
|
{% block menu %}
|
||||||
{% include "WallabagBundle::_menu.html.twig" %}
|
{% include "WallabagCoreBundle::_menu.html.twig" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>{% trans %}About wallabag{% endtrans %}</h2>
|
<h2>{% trans %}About wallabag{% endtrans %}</h2>
|
|
@ -3,13 +3,13 @@
|
||||||
<li><a href="{{ path('unread') }}">{% trans %}unread{% endtrans %}</a></li>
|
<li><a href="{{ path('unread') }}">{% trans %}unread{% endtrans %}</a></li>
|
||||||
<li><a href="{{ path('starred') }}">{% trans %}favorites{% endtrans %}</a></li>
|
<li><a href="{{ path('starred') }}">{% trans %}favorites{% endtrans %}</a></li>
|
||||||
<li><a href="{{ path('archive') }}"}>{% trans %}archive{% endtrans %}</a></li>
|
<li><a href="{{ path('archive') }}"}>{% trans %}archive{% endtrans %}</a></li>
|
||||||
<li><a href="./?view=tags">{% trans %}tags{% endtrans %}</a></li>
|
<li><a href="?view=tags">{% trans %}tags{% endtrans %}</a></li>
|
||||||
<li><a href="{{ path('new_entry') }}">{% trans %}save a link{% endtrans %}</a></li>
|
<li><a href="{{ path('new_entry') }}">{% trans %}save a link{% endtrans %}</a></li>
|
||||||
<li style="position: relative;"><a href="javascript: void(null);" id="search">{% trans %}search{% endtrans %}</a>
|
<li style="position: relative;"><a href="javascript: void(null);" id="search">{% trans %}search{% endtrans %}</a>
|
||||||
{% include "WallabagBundle::_search_form.html.twig" %}
|
{% include "WallabagCoreBundle::_search_form.html.twig" %}
|
||||||
</li>
|
</li>
|
||||||
<li><a href="./?view=config">{% trans %}config{% endtrans %}</a></li>
|
<li><a href="?view=config">{% trans %}config{% endtrans %}</a></li>
|
||||||
<li><a href={{ path('about') }}>{% trans %}about{% endtrans %}</a></li>
|
<li><a href={{ path('about') }}>{% trans %}about{% endtrans %}</a></li>
|
||||||
<li><a class="icon icon-power" href="./?logout" title="{% trans %}logout{% endtrans %}">{% trans %}logout{% endtrans %}</a></li>
|
<li><a class="icon icon-power" href="?logout" title="{% trans %}logout{% endtrans %}">{% trans %}logout{% endtrans %}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=10">
|
<meta http-equiv="X-UA-Compatible" content="IE=10">
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<title>{% block title %}{% endblock %} - wallabag</title>
|
<title>{% block title %}{% endblock %} - wallabag</title>
|
||||||
{% include "WallabagBundle::_head.html.twig" %}
|
{% include "WallabagCoreBundle::_head.html.twig" %}
|
||||||
{% include "WallabagBundle::_bookmarklet.html.twig" %}
|
{% include "WallabagCoreBundle::_bookmarklet.html.twig" %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% include "WallabagBundle::_top.html.twig" %}
|
{% include "WallabagCoreBundle::_top.html.twig" %}
|
||||||
<div id="main">
|
<div id="main">
|
||||||
{% block menu %}{% endblock %}
|
{% block menu %}{% endblock %}
|
||||||
{% block precontent %}{% endblock %}
|
{% block precontent %}{% endblock %}
|
||||||
|
@ -28,6 +28,6 @@
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% include "WallabagBundle::_footer.html.twig" %}
|
{% include "WallabagCoreBundle::_footer.html.twig" %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Tests\Controller;
|
namespace Wallabag\CoreBundle\Tests\Controller;
|
||||||
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace WallabagBundle\Twig\Extension;
|
namespace Wallabag\CoreBundle\Twig\Extension;
|
||||||
|
|
||||||
class WallabagExtension extends \Twig_Extension
|
class WallabagExtension extends \Twig_Extension
|
||||||
{
|
{
|
9
src/Wallabag/CoreBundle/WallabagCoreBundle.php
Normal file
9
src/Wallabag/CoreBundle/WallabagCoreBundle.php
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Wallabag\CoreBundle;
|
||||||
|
|
||||||
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||||
|
|
||||||
|
class WallabagCoreBundle extends Bundle
|
||||||
|
{
|
||||||
|
}
|
|
@ -11,7 +11,7 @@
|
||||||
namespace Wallabag\Wallabag;
|
namespace Wallabag\Wallabag;
|
||||||
|
|
||||||
use \PDO;
|
use \PDO;
|
||||||
use WallabagBundle\Entity;
|
use CoreBundle\Entity;
|
||||||
|
|
||||||
class Database {
|
class Database {
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
_wllbg:
|
|
||||||
resource: "@WallabagBundle/Controller/EntryController.php"
|
|
||||||
type: annotation
|
|
|
@ -1,9 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace WallabagBundle;
|
|
||||||
|
|
||||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
||||||
|
|
||||||
class WallabagBundle extends Bundle
|
|
||||||
{
|
|
||||||
}
|
|
Loading…
Reference in a new issue