]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/request/class_BaseRequest.php
Continued:
[core.git] / framework / main / classes / request / class_BaseRequest.php
index 49130652be6920de855df4fd326870ad81fc034d..0fa759a1b8af043425cc9a8da2b4fe510d083111 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 // Own namespace
-namespace CoreFramework\Request;
+namespace Org\Mxchange\CoreFramework\Request;
 
 // Import framework stuff
-use CoreFramework\Object\BaseFrameworkSystem;
+use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
 
 /**
  * A general request class
@@ -27,7 +27,7 @@ use CoreFramework\Object\BaseFrameworkSystem;
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class BaseRequest extends BaseFrameworkSystem {
+abstract class BaseRequest extends BaseFrameworkSystem {
        /**
         * Array for the request data
         */
@@ -35,10 +35,10 @@ class BaseRequest extends BaseFrameworkSystem {
 
        /**
         * Whether this request is valid and can be further processed. The default is
-        * valid so make sure your intercepting filters sets this attribute to FALSE
+        * valid so make sure your intercepting filters sets this attribute to false
         * when they need to intercept the data flow.
         */
-       private $requestIsValid = TRUE;
+       private $requestIsValid = true;
 
        /**
         * Protected constructor
@@ -119,12 +119,12 @@ class BaseRequest extends BaseFrameworkSystem {
        }
 
        /**
-        * Sets whether the request was valid (default: TRUE)
+        * Sets whether the request was valid (default: true)
         *
         * @param       $isValid        Whether the request is valid
         * @return      void
         */
-       public final function requestIsValid ($isValid = TRUE) {
+       public final function requestIsValid ($isValid = true) {
                $this->requestIsValid = (bool) $isValid;
        }