correct docstrings

This commit is contained in:
coderkun 2015-03-06 11:09:35 +01:00
commit 01a9c81f81
78 changed files with 275 additions and 62 deletions

View file

@ -64,8 +64,8 @@
* Load the class of an Agent.
*
* @static
* @throws AgentNotFoundException
* @throws AgentNotValidException
* @throws \nre\exceptions\AgentNotFoundException
* @throws \nre\exceptions\AgentNotValidException
* @param string $agentName Name of the Agent to load
*/
public static function load($agentName)
@ -500,7 +500,8 @@
/**
* Handle the exception of a SubAgent.
*
* @param string $label Name of the original Agent
* @param array $subAgent Original (Sub-) Agent
* @param Request $request Current request
* @param Excepiton $exception Occurred exception
* @return array InlineError-SubAgent
*/

View file

@ -93,6 +93,7 @@
* @param string $controllerName Name of the Controller to instantiate
* @param string $layoutName Name of the current Layout
* @param string $action Current Action
* @param string $agent Corresponding Agent
*/
public static function factory($controllerName, $layoutName, $action, $agent)
{

View file

@ -55,6 +55,7 @@
* Instantiate a Driver (Factory Pattern).
*
* @param string $driverName Name of the Driver to instantiate
* @param array $config Configuration settings
*/
public static function factory($driverName, $config)
{

View file

@ -215,8 +215,8 @@
*
* @param Request $request Current request
* @param Response $response Current response
* @param bool $absolute Create absolute link
* @param string $anchor Anchor on target
* @param bool $absolute Create absolute link
* @return string Created link
*/
private static function createLink(Request $request, Response $response, $anchor=null, $absolute=false)