PHP Classes

File: public/Classes/Operationen/KlammerZu.php

Recommend this page to a friend!
  Classes of stefan  >  PHP Calculator  >  public/Classes/Operationen/KlammerZu.php  >  Download  
File: public/Classes/Operationen/KlammerZu.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Calculator
Calculate the result of multiple math operations
Author: By
Last change:
Date: 1 year ago
Size: 413 bytes
 

Contents

Class file image Download
<?php
   
namespace Taschenrechner\Classes\Operationen;

   
    class
KlammerZu extends Operation {
       
//KlammerZu beinhaltet als Operation eine schließende Klammer
       
public function getSign() {
            return
")";
        }
       
       
//Tue nichts mit dem Term (wird bereits in Klammer) durchgeführt.
       
public function findAndCalculate($term) {
            return
$term;
        }
        public function
calculate($a, $b=NULL) {
            return
NULL;
        }
    }
?>