Commit c8ed64a 1 parent 417dd54 commit c8ed64a Copy full SHA for c8ed64a
File tree 16 files changed +0
-32
lines changed
16 files changed +0
-32
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Avanzu \AdminThemeBundle ;
4
4
5
- use Avanzu \AdminThemeBundle \DependencyInjection \AssetsCompilerPass ;
6
- use Avanzu \AdminThemeBundle \DependencyInjection \Compiler \AsseticPass ;
7
- use Avanzu \AdminThemeBundle \DependencyInjection \Compiler \KnpMenuPass ;
8
5
use Avanzu \AdminThemeBundle \DependencyInjection \Compiler \TwigPass ;
9
6
use Symfony \Component \DependencyInjection \ContainerBuilder ;
10
7
use Symfony \Component \HttpKernel \Bundle \Bundle ;
Original file line number Diff line number Diff line change 7
7
namespace Avanzu \AdminThemeBundle \Command ;
8
8
9
9
use Symfony \Bundle \FrameworkBundle \Command \ContainerAwareCommand ;
10
- use Symfony \Component \Console \Input \InputArgument ;
11
10
use Symfony \Component \Console \Input \InputInterface ;
12
11
use Symfony \Component \Console \Input \InputOption ;
13
12
use Symfony \Component \Console \Output \OutputInterface ;
16
15
use Symfony \Component \Finder \SplFileInfo ;
17
16
use Symfony \Component \HttpKernel \Kernel ;
18
17
use Symfony \Component \Process \Process ;
19
- use Symfony \Component \Process \ProcessBuilder ;
20
18
21
19
class BuildAssetsCommand extends ContainerAwareCommand
22
20
{
Original file line number Diff line number Diff line change 8
8
9
9
use Symfony \Bundle \FrameworkBundle \Command \ContainerAwareCommand ;
10
10
use Symfony \Component \Console \Helper \FormatterHelper ;
11
- use Symfony \Component \Console \Input \Input ;
12
11
use Symfony \Component \Console \Input \InputArgument ;
13
12
use Symfony \Component \Console \Input \InputInterface ;
14
13
use Symfony \Component \Console \Input \InputOption ;
Original file line number Diff line number Diff line change 12
12
use Symfony \Component \Console \Input \InputInterface ;
13
13
use Symfony \Component \Console \Input \InputOption ;
14
14
use Symfony \Component \Console \Output \OutputInterface ;
15
- use Symfony \Component \Finder \Shell \Command ;
16
15
use Symfony \Component \HttpKernel \Kernel ;
17
16
use Symfony \Component \Process \Process ;
18
17
Original file line number Diff line number Diff line change 12
12
use Symfony \Component \Process \Process ;
13
13
use Symfony \Component \Process \PhpExecutableFinder ;
14
14
use Composer \Script \CommandEvent ;
15
- use Symfony \Component \ClassLoader \ClassCollectionLoader ;
16
- use Symfony \Component \Filesystem \Filesystem ;
17
15
18
16
/**
19
17
* ScriptHandler
Original file line number Diff line number Diff line change 3
3
namespace Avanzu \AdminThemeBundle \Controller ;
4
4
5
5
use Avanzu \AdminThemeBundle \Form \FormDemoModelType ;
6
- use Avanzu \AdminThemeBundle \Model \FormDemoModel ;
7
6
use Symfony \Bundle \FrameworkBundle \Controller \Controller ;
8
- use Sensio \Bundle \FrameworkExtraBundle \Configuration \Route ;
9
7
use Sensio \Bundle \FrameworkExtraBundle \Configuration \Template ;
10
8
11
9
/**
Original file line number Diff line number Diff line change 9
9
use Symfony \Bundle \FrameworkBundle \Controller \Controller ;
10
10
use Symfony \Component \DependencyInjection \Container ;
11
11
use Symfony \Component \EventDispatcher \Event ;
12
- use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
13
12
14
13
class EmitterController extends Controller
15
14
{
Original file line number Diff line number Diff line change 7
7
namespace Avanzu \AdminThemeBundle \Controller ;
8
8
9
9
use Symfony \Bundle \FrameworkBundle \Controller \Controller ;
10
- use Symfony \Component \HttpFoundation \Request ;
11
- use Symfony \Component \HttpFoundation \Response ;
12
10
13
11
class WidgetController extends Controller
14
12
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace Avanzu \AdminThemeBundle \DependencyInjection ;
4
4
5
- use Avanzu \AdminThemeBundle \Controller \BreadcrumbController ;
6
- use Avanzu \AdminThemeBundle \Controller \NavbarController ;
7
- use Avanzu \AdminThemeBundle \Controller \SidebarController ;
8
5
use Symfony \Component \Config \Definition \Builder \TreeBuilder ;
9
6
use Symfony \Component \Config \Definition \ConfigurationInterface ;
10
7
Original file line number Diff line number Diff line change 8
8
9
9
use Symfony \Component \HttpKernel \Event \FilterControllerEvent ;
10
10
use Symfony \Component \HttpKernel \Event \GetResponseEvent ;
11
- use Symfony \Component \Security \Core \User \User ;
12
- use Symfony \Component \Security \Core \User \UserInterface ;
13
11
14
12
class ContextListener
15
13
{
Original file line number Diff line number Diff line change 7
7
namespace Avanzu \AdminThemeBundle \Form ;
8
8
9
9
use Symfony \Component \Form \AbstractTypeExtension ;
10
- use Symfony \Component \Form \Extension \Core \Type \FormType ;
11
10
use Symfony \Component \Form \FormInterface ;
12
11
use Symfony \Component \Form \FormView ;
13
12
use Symfony \Component \OptionsResolver \OptionsResolver ;
Original file line number Diff line number Diff line change 10
10
use Avanzu \AdminThemeBundle \Event \ThemeEvents ;
11
11
use Avanzu \AdminThemeBundle \Routing \RouteAliasCollection ;
12
12
use Knp \Menu \FactoryInterface ;
13
- use Symfony \Component \EventDispatcher \EventDispatcher ;
14
13
use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
15
14
16
15
class MenuBuilder
Original file line number Diff line number Diff line change 7
7
namespace Avanzu \AdminThemeBundle \Routing ;
8
8
9
9
use Symfony \Component \Config \Loader \Loader ;
10
- use Symfony \Component \Config \Loader \LoaderResolverInterface ;
11
10
12
11
class MenuLoader extends Loader
13
12
{
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Avanzu \AdminThemeBundle \Theme ;
8
8
9
- use Assetic \Asset \AssetCollection ;
10
- use Assetic \Asset \AssetReference ;
11
- use Assetic \Factory \AssetFactory ;
12
- use Assetic \Factory \LazyAssetManager ;
13
- use Assetic \Factory \Resource \FileResource ;
14
9
use Avanzu \FoundationBundle \Util \DependencyResolverInterface ;
15
- use Symfony \Bundle \AsseticBundle \Config \AsseticResource ;
16
10
use Symfony \Component \DependencyInjection \Container ;
17
- use Avanzu \FoundationBundle \Util \DependencyResolver ;
18
11
use Symfony \Component \HttpKernel \Config \FileLocator ;
19
12
20
13
class ThemeManager
Original file line number Diff line number Diff line change 7
7
namespace Avanzu \AdminThemeBundle \Twig ;
8
8
9
9
use Avanzu \AdminThemeBundle \Routing \RouteAliasCollection ;
10
- use Twig_Environment ;
11
10
12
11
class AvanzuAdminExtension extends \Twig_Extension
13
12
{
Original file line number Diff line number Diff line change 6
6
*/
7
7
namespace Avanzu \AdminThemeBundle \Twig ;
8
8
9
- use Twig_Environment ;
10
-
11
9
class WidgetExtension extends \Twig_Extension
12
10
{
13
11
public function renderWidget () {
You can’t perform that action at this time.
0 commit comments