protected static function popsStaticClassProxyDefinitionHeader($proxyClass)
    {
        $proxyClassParts = explode('\\', $proxyClass);
        $proxyClass = array_pop($proxyClassParts);
        $proxyClassNamespace = implode('\\', $proxyClassParts);

        $header = sprintf(
            'class %s extends \\%s',
            $proxyClass,
            get_called_class()
        );
        if ($proxyClassNamespace) {
            $header = sprintf(
                'namespace %s; %s',
                $proxyClassNamespace,
                $header
            );
        }

        return $header;
    }