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;
    }
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;
    }
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 ; }
Generate the class header for a static class proxy class.

@param string $proxyClass The class name to use for the proxy class.

@return string The static class proxy class header.
Generate the class header for a static class proxy class .