X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fconfig%2Fclass_FrameworkConfiguration.php;h=e9610ed2e940077657153f312e67cdd8b30743c7;hp=28f0c0a6786852b7004dd4d0c1443e1b46b29dff;hb=89c2daf5e6f80ace34426c4bd074e1e2a8fa73d7;hpb=40fc137b0e0cd02b3ff4d685f5f735fe9ec7af17 diff --git a/inc/config/class_FrameworkConfiguration.php b/inc/config/class_FrameworkConfiguration.php index 28f0c0a6..e9610ed2 100644 --- a/inc/config/class_FrameworkConfiguration.php +++ b/inc/config/class_FrameworkConfiguration.php @@ -231,6 +231,8 @@ class FrameworkConfiguration implements Registerable { /** * Detect safely the script path without trailing slash which is the glue * between "http://your-domain.invalid/" and "script-name.php" + * + * @return $scriptPath The script path extracted from $_SERVER['SCRIPT_NAME'] */ public function detectScriptPath () { // Default is empty @@ -245,6 +247,17 @@ class FrameworkConfiguration implements Registerable { // Return it return $scriptPath; } + + /** + * Getter for field name + * + * @param $fieldName Field name which we shall get + * @return $fieldValue Field value from the user + * @throws NullPointerException If the result instance is null + */ + public final function getField ($fieldName) { + // Our super interface "FrameworkInterface" requires this + } } // [EOF]