src/Shutdown.php
private function releaseImpl(/*string*/ $id, /*int*/ $priority = -1) {
    if(-1 === $priority) {
      $priority = $this->priorities[$id];
    }
    unset($this->priorities[$id]);
    unset($this->callbacks[$priority][$id]);
  }
private function releaseImpl(/*string*/ $id, /*int*/ $priority = -1) {
    if(-1 === $priority) {
      $priority = $this->priorities[$id];
    }
    unset($this->priorities[$id]);
    unset($this->callbacks[$priority][$id]);
  }
private function releaseImpl ( /*string*/ $ id , /*int*/ $ priority = - 1 ) { if ( - 1 === $ priority ) { $ priority = $ this -> priorities [ $ id ] ; } unset ( $ this -> priorities [ $ id ] ) ; unset ( $ this -> callbacks [ $ priority ] [ $ id ] ) ; }
The actual deregistration implementation takes place here. If you extend
this class, you can deregister the callbacks using this method.

@param string $id unique identifier of this callback
@param int $priority of the callback, or pass -1 to detect the priority
The actual deregistration implementation takes place here . If you extend this class you can deregister the callbacks using this method .