]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/request/class_BaseRequest.php
Rewrite continued:
[core.git] / framework / main / classes / request / class_BaseRequest.php
index 49130652be6920de855df4fd326870ad81fc034d..eaff2be05e1d65a5ca1b98eb970cb323c8052c4a 100644 (file)
@@ -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;
        }