src/Synapse/View/AbstractView.php
protected function template()
    {
        $reflector = new \ReflectionClass(get_class($this));
        $classname = $reflector->getName();

        $template = preg_replace('/(Application|Synapse)\\\View\\\/', '', $classname);
        $template = str_replace('\\', '/', $template);

        return $template;
    }
protected function template()
    {
        $reflector = new \ReflectionClass(get_class($this));
        $classname = $reflector->getName();

        $template = preg_replace('/(Application|Synapse)\\\View\\\/', '', $classname);
        $template = str_replace('\\', '/', $template);

        return $template;
    }
protected function template ( ) { $ reflector = new \ ReflectionClass ( get_class ( $ this ) ) ; $ classname = $ reflector -> getName ( ) ; $ template = preg_replace ( '/(Application|Synapse)\\\View\\\/' , '' , $ classname ) ; $ template = str_replace ( '\\' , '/' , $ template ) ; return $ template ; }
Return the corresponding template file name for this class minus file extension
@return string
Return the corresponding template file name for this class minus file extension