Jamm\Memory\IKeyLocker::getKey PHP Method

getKey() public method

public getKey ( ) : string
return string
    public function getKey();

Usage Example

Example #1
0
 public function watchFunctionExit(\Jamm\Memory\IKeyLocker $ExitWatcher = NULL)
 {
     if ($this->in_throw) {
         $ExitWatcher->revoke();
         return false;
     }
     $point_name = ':exit';
     if (!empty($ExitWatcher)) {
         $point_name = $ExitWatcher->getKey() . $point_name;
         $ExitWatcher->revoke();
     }
     $this->setPoint($point_name);
 }