Author: grobmeier
Date: Fri May 22 14:08:10 2009
New Revision: 777533

URL: http://svn.apache.org/viewvc?rev=777533&view=rev
Log:
removed unnecessary factory method

Modified:
    incubator/log4php/trunk/src/main/php/LoggerLayout.php

Modified: incubator/log4php/trunk/src/main/php/LoggerLayout.php
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/LoggerLayout.php?rev=777533&r1=777532&r2=777533&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/LoggerLayout.php (original)
+++ incubator/log4php/trunk/src/main/php/LoggerLayout.php Fri May 22 14:08:10 
2009
@@ -26,21 +26,6 @@
  * @abstract
  */
 abstract class LoggerLayout {
-
-       /**
-        * Creates LoggerLayout instances with the given class name.
-        *
-        * @param string $class
-        * @return LoggerLayout
-        */
-       public static function factory($class) {
-               if(!empty($class)) {
-                       $class = basename($class);
-                       return new $class();
-               }
-               return null;
-       }
-
        /**
         * Activates options for this layout.
         * Override this method if you have options to be activated.


Reply via email to