Exemple #1
0
 /**
  * Will set the path to the KRUMO variable dumper. The KRUMO is an external plugin with it's own JS, that we use to dump system
  * variables globally defined in a recursive manner, which allows a developer the content of variables when the error happened. In
  * the development stage of a project, this advantage helps the developer debug faster and after fixing the problem, to concentrate
  * more on the features he has to do, rather than on what to use and how to debug ...
  *
  * @param FilePath $pathToKrumo Set the path to the KRUMO plugin
  * @return B Will return true if the path was set
  * @author Catalin Z. Alexandru <*****@*****.**>
  * @copyright Under the terms of the GNU General Public License v3
  * @version $Id: 02_LOG.php 313 2009-10-09 13:27:52Z catalin.zamfir $
  * @since Version 1.0
  * @access protected
  * @static
  * @final
  */
 protected static final function setRAKrumoPath(FilePath $pathToKrumo)
 {
     // Just set the INTERNAL objKrumoObjectDumbper;
     if (self::$objKrumoObjectDumper = $pathToKrumo) {
         // Do return ...
         return new B(TRUE);
     } else {
         // Do return ...
         return new B(FALSE);
     }
 }