public function registryAlias($registryAlias = null)
    {
        if ($registryAlias !== null) {
            $this->setRegistryAlias($registryAlias);
        }

        return $this->getRegistryAlias();
    }
public function registryAlias($registryAlias = null)
    {
        if ($registryAlias !== null) {
            $this->setRegistryAlias($registryAlias);
        }

        return $this->getRegistryAlias();
    }
public function registryAlias ( $ registryAlias = null ) { if ( $ registryAlias !== null ) { $ this -> setRegistryAlias ( $ registryAlias ) ; } return $ this -> getRegistryAlias ( ) ; }
Returns the endpoint registry key used to create this endpoint instance

@param string|null $registryAlias the key used to access this object
@return string
@deprecated 2.0.0 Use setRegistryAlias()/getRegistryAlias() instead.
Returns the endpoint registry key used to create this endpoint instance