Skip to content

Commit 10d535c

Browse files
committed
Cleaned some file class names + removed some require_once + added sfServiceContainer* classes to core_compile
1 parent e46c3fe commit 10d535c

26 files changed

+57
-92
lines changed

lib/autoload/sfCoreAutoload.class.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ static public function make()
260260
'sfoutputescaperiteratordecorator' => 'escaper/sfOutputEscaperIteratorDecorator.class.php',
261261
'sfoutputescaperobjectdecorator' => 'escaper/sfOutputEscaperObjectDecorator.class.php',
262262
'sfoutputescapersafe' => 'escaper/sfOutputEscaperSafe.class.php',
263-
'sfevent' => 'event_dispatcher/sfEvent.php',
264-
'sfeventdispatcher' => 'event_dispatcher/sfEventDispatcher.php',
263+
'sfevent' => 'event/sfEvent.class.php',
264+
'sfeventdispatcher' => 'event/sfEventDispatcher.class.php',
265265
'sfcacheexception' => 'exception/sfCacheException.class.php',
266266
'sfconfigurationexception' => 'exception/sfConfigurationException.class.php',
267267
'sfcontrollerexception' => 'exception/sfControllerException.class.php',
@@ -362,19 +362,19 @@ static public function make()
362362
'sfroute' => 'routing/sfRoute.class.php',
363363
'sfroutecollection' => 'routing/sfRouteCollection.class.php',
364364
'sfrouting' => 'routing/sfRouting.class.php',
365-
'sfservicecontainer' => 'service/sfServiceContainer.php',
366-
'sfservicecontainerbuilder' => 'service/sfServiceContainerBuilder.php',
367-
'sfservicecontainerdumper' => 'service/sfServiceContainerDumper.php',
368-
'sfservicecontainerdumpergraphviz' => 'service/sfServiceContainerDumperGraphviz.php',
369-
'sfservicecontainerdumperinterface' => 'service/sfServiceContainerDumperInterface.php',
370-
'sfservicecontainerdumperphp' => 'service/sfServiceContainerDumperPhp.php',
371-
'sfservicecontainerinterface' => 'service/sfServiceContainerInterface.php',
372-
'sfservicecontainerloader' => 'service/sfServiceContainerLoader.php',
373-
'sfservicecontainerloaderarray' => 'service/sfServiceContainerLoaderArray.php',
374-
'sfservicecontainerloaderinterface' => 'service/sfServiceContainerLoaderInterface.php',
375-
'sfservicedefinition' => 'service/sfServiceDefinition.php',
376-
'sfserviceparameter' => 'service/sfServiceParameter.php',
377-
'sfservicereference' => 'service/sfServiceReference.php',
365+
'sfservicecontainer' => 'service/sfServiceContainer.class.php',
366+
'sfservicecontainerbuilder' => 'service/sfServiceContainerBuilder.class.php',
367+
'sfservicecontainerdumper' => 'service/sfServiceContainerDumper.class.php',
368+
'sfservicecontainerdumpergraphviz' => 'service/sfServiceContainerDumperGraphviz.class.php',
369+
'sfservicecontainerdumperinterface' => 'service/sfServiceContainerDumperInterface.class.php',
370+
'sfservicecontainerdumperphp' => 'service/sfServiceContainerDumperPhp.class.php',
371+
'sfservicecontainerinterface' => 'service/sfServiceContainerInterface.class.php',
372+
'sfservicecontainerloader' => 'service/sfServiceContainerLoader.class.php',
373+
'sfservicecontainerloaderarray' => 'service/sfServiceContainerLoaderArray.class.php',
374+
'sfservicecontainerloaderinterface' => 'service/sfServiceContainerLoaderInterface.class.php',
375+
'sfservicedefinition' => 'service/sfServiceDefinition.class.php',
376+
'sfserviceparameter' => 'service/sfServiceParameter.class.php',
377+
'sfservicereference' => 'service/sfServiceReference.class.php',
378378
'sfcachesessionstorage' => 'storage/sfCacheSessionStorage.class.php',
379379
'sfdatabasesessionstorage' => 'storage/sfDatabaseSessionStorage.class.php',
380380
'sfmysqlsessionstorage' => 'storage/sfMySQLSessionStorage.class.php',
@@ -529,9 +529,9 @@ static public function make()
529529
'sfwidgetformselectradio' => 'widget/sfWidgetFormSelectRadio.class.php',
530530
'sfwidgetformtextarea' => 'widget/sfWidgetFormTextarea.class.php',
531531
'sfwidgetformtime' => 'widget/sfWidgetFormTime.class.php',
532-
'sfyaml' => 'yaml/sfYaml.php',
533-
'sfyamldumper' => 'yaml/sfYamlDumper.php',
534-
'sfyamlinline' => 'yaml/sfYamlInline.php',
535-
'sfyamlparser' => 'yaml/sfYamlParser.php',
532+
'sfyaml' => 'yaml/sfYaml.class.php',
533+
'sfyamldumper' => 'yaml/sfYamlDumper.class.php',
534+
'sfyamlinline' => 'yaml/sfYamlInline.class.php',
535+
'sfyamlparser' => 'yaml/sfYamlParser.class.php',
536536
);
537537
}

lib/config/config/core_compile.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
- %SF_SYMFONY_LIB_DIR%/util/sfNamespacedParameterHolder.class.php
2121
- %SF_SYMFONY_LIB_DIR%/view/sfView.class.php
2222
- %SF_SYMFONY_LIB_DIR%/view/sfViewParameterHolder.class.php
23+
- %SF_SYMFONY_LIB_DIR%/service/sfServiceContainer.class.php
24+
- %SF_SYMFONY_LIB_DIR%/service/sfServiceContainerBuilder.class.php
25+
- %SF_SYMFONY_LIB_DIR%/service/sfServiceContainerLoader.class.php
26+
- %SF_SYMFONY_LIB_DIR%/service/sfServiceContainerLoaderArray.class.php
2327

2428
# these classes are optionals but very likely to be used (in web context)
2529
- %SF_SYMFONY_LIB_DIR%/controller/sfWebController.class.php

lib/event_dispatcher/sfEvent.php renamed to lib/event/sfEvent.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* This file is part of the symfony package.
55
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
6-
*
6+
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
@@ -12,7 +12,7 @@
1212
* sfEvent.
1313
*
1414
* @package symfony
15-
* @subpackage event_dispatcher
15+
* @subpackage event
1616
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
1717
* @version SVN: $Id: sfEvent.class.php 8698 2008-04-30 16:35:28Z fabien $
1818
*/
@@ -143,7 +143,7 @@ public function offsetGet($name)
143143
* Sets a parameter (implements the ArrayAccess interface).
144144
*
145145
* @param string $name The parameter name
146-
* @param mixed $value The parameter value
146+
* @param mixed $value The parameter value
147147
*/
148148
public function offsetSet($name, $value)
149149
{

lib/event_dispatcher/sfEventDispatcher.php renamed to lib/event/sfEventDispatcher.class.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<?php
22

3-
require_once dirname(__FILE__).'/sfEvent.php';
4-
53
/*
64
* This file is part of the symfony package.
75
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
8-
*
6+
*
97
* For the full copyright and license information, please view the LICENSE
108
* file that was distributed with this source code.
119
*/
@@ -16,7 +14,7 @@
1614
* @see http://developer.apple.com/documentation/Cocoa/Conceptual/Notifications/index.html Apple's Cocoa framework
1715
*
1816
* @package symfony
19-
* @subpackage event_dispatcher
17+
* @subpackage event
2018
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
2119
* @version SVN: $Id: sfEventDispatcher.class.php 10631 2008-08-03 16:50:47Z fabien $
2220
*/

lib/service/sfServiceContainer.php renamed to lib/service/sfServiceContainer.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/*
44
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
5+
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
@@ -37,7 +37,7 @@
3737
* </ul>
3838
*
3939
* @package symfony
40-
* @subpackage dependency_injection
40+
* @subpackage service
4141
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
4242
* @version SVN: $Id$
4343
*/

lib/service/sfServiceContainerBuilder.php renamed to lib/service/sfServiceContainerBuilder.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/*
44
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
5+
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
@@ -12,7 +12,7 @@
1212
* sfServiceContainerBuilder is a DI container that provides an interface to build the services.
1313
*
1414
* @package symfony
15-
* @subpackage dependency_injection
15+
* @subpackage service
1616
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
1717
* @version SVN: $Id: sfServiceContainerBuilder.php 269 2009-03-26 20:39:16Z fabien $
1818
*/

lib/service/sfServiceContainerDumper.php renamed to lib/service/sfServiceContainerDumper.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/*
44
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
5+
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
@@ -12,7 +12,7 @@
1212
* sfServiceContainerDumper is the abstract class for all built-in dumpers.
1313
*
1414
* @package symfony
15-
* @subpackage dependency_injection
15+
* @subpackage service
1616
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
1717
* @version SVN: $Id$
1818
*/

lib/service/sfServiceContainerDumperGraphviz.php renamed to lib/service/sfServiceContainerDumperGraphviz.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/*
44
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
5+
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
@@ -16,7 +16,7 @@
1616
* dot -Tpng container.dot > foo.png
1717
*
1818
* @package symfony
19-
* @subpackage dependency_injection
19+
* @subpackage service
2020
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
2121
* @version SVN: $Id$
2222
*/

lib/service/sfServiceContainerDumperPhp.php renamed to lib/service/sfServiceContainerDumperPhp.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/*
44
* This file is part of the symfony package.
5-
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
5+
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
66
*
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
@@ -12,7 +12,7 @@
1212
* sfServiceContainerDumperPhp dumps a service container as a PHP class.
1313
*
1414
* @package symfony
15-
* @subpackage dependency_injection
15+
* @subpackage service
1616
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
1717
* @version SVN: $Id$
1818
*/

0 commit comments

Comments
 (0)