public function push($value)
    {
        $this->checkType($value);
        $data = &$this->getDataPlaceHolder();
        array_push($data, $value);
    }
public function push($value)
    {
        $this->checkType($value);
        $data = &$this->getDataPlaceHolder();
        array_push($data, $value);
    }
public function push ( $ value ) { $ this -> checkType ( $ value ) ; $ data = & $ this -> getDataPlaceHolder ( ) ; array_push ( $ data , $ value ) ; }
Push a given StackTraceItem object on the StackTrace.

@param \qtism\runtime\common\StackTraceItem $value A StackTraceItem object.
@throws \InvalidArgumentException If $value is not a StackTraceItem object.
Push a given StackTraceItem object on the StackTrace .