-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Adds TComponent::__callStatic, Update the ReadMe - This forwards unfound static methods to a class's class-wide behaviors. If an object is an ISingleton, the singleton's enabled behaviors are also checked. - Added TUnknownMethodException, __call and __callStatic use TUnknownMethodException rather than TApplicationException. - TApplication implements ISingleton so it can handle static methods with the singleton behaviors rather than just the class-wide behaviors. - refactored unit tests -Updated the Readme with new features and how to add composer extensions to an application. (i know there aren't many available yet, but this is how we get community support with composer extensions) * tweaked ReadMe * removed extra line * Added History.md update * Better History * spelling correction * more readable Readme * More consistent Readme code spacing * Added the "PluginContentId" application parameter to the UPGRADE * tweaked Readme Language * TApplication:singleton() phpdoc text correction.
- Loading branch information
Showing
8 changed files
with
255 additions
and
41 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
/** | ||
* TUnknownMethodException class file | ||
* | ||
* @author Brad Anderson <belisoful@icloud.com> | ||
* @link https://github.com/pradosoft/prado | ||
* @license https://github.com/pradosoft/prado/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Prado\Exceptions; | ||
|
||
/** | ||
* TUnknownMethodException class | ||
* | ||
* TUnknownMethodException is raised when the method being called cannot be found | ||
* in {@see \Prado\TComponent::__call} and {@see \Prado\TComponent::__callStatic}. | ||
* | ||
* @author Brad Anderson <belisoful@icloud.com> | ||
* @since 4.2.3 | ||
*/ | ||
class TUnknownMethodException extends TSystemException | ||
{ | ||
} |
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
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.