Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup some code to Horde coding standards
- Loading branch information
Showing
7 changed files
with
294 additions
and
88 deletions.
There are no files selected for viewing
7 changes: 4 additions & 3 deletions
7
framework/Autoloader/doc/Horde/Autoloader/examples/most_basic.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 25 additions & 5 deletions
30
framework/Autoloader/lib/Horde/Autoloader/ClassPathMapper.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,34 @@ | ||
<?php | ||
/** | ||
* Horde_Autoloader_ClassPathMapper | ||
* Copyright 2008-2014 Horde LLC (http://www.horde.org/) | ||
* | ||
* Interface for class loaders | ||
* See the enclosed file COPYING for license information (LGPL). If you | ||
* did not receive this file, see http://www.horde.org/licenses/lgpl21. | ||
* | ||
* @author Bob Mckee <bmckee@bywires.com> | ||
* @category Horde | ||
* @package Autoloader | ||
* @category Horde | ||
* @copyright 2008-2014 Horde LLC | ||
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 | ||
* @package Autoloader | ||
*/ | ||
|
||
/** | ||
* Interface for autoloader class path mappers. | ||
* | ||
* @author Bob Mckee <bmckee@bywires.com> | ||
* @category Horde | ||
* @copyright 2008-2014 Horde LLC | ||
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 | ||
* @package Autoloader | ||
*/ | ||
interface Horde_Autoloader_ClassPathMapper | ||
{ | ||
/** | ||
* Search for a mapping from class to file path. | ||
* | ||
* @param string $className Classname to load. | ||
* | ||
* @return mixed Pathname to class, or false if not found. | ||
*/ | ||
public function mapToPath($className); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.