Phalcon\Queue\Beanstalk\Extended::getTubeName PHP 메소드

getTubeName() 보호된 메소드

Returns the tube name with prefix.
protected getTubeName ( string | null $tube ) : string
$tube string | null
리턴 string
    protected function getTubeName($tube)
    {
        if (null !== $this->tubePrefix && null !== $tube) {
            $tube = str_replace($this->tubePrefix, '', $tube);
            if (0 !== strcmp($tube, 'default')) {
                return $this->tubePrefix . $tube;
            }
        }
        return $tube;
    }