protected function parentVars(string $file = null): array
    {
        if (isset($file)) {
            return $this->parent_vars[$file] ?? [];
        }
        $closest_ancestor_vars = end($this->parent_vars);
        return $parent_vars    = $closest_ancestor_vars ?: [];
    }
protected function parentVars(string $file = null): array
    {
        if (isset($file)) {
            return $this->parent_vars[$file] ?? [];
        }
        $closest_ancestor_vars = end($this->parent_vars);
        return $parent_vars    = $closest_ancestor_vars ?: [];
    }
protected function parentVars ( string $ file = null ) : array { if ( isset ( $ file ) ) { return $ this -> parent_vars [ $ file ] ?? [ ] ; } $ closest_ancestor_vars = end ( $ this -> parent_vars ) ; return $ parent_vars = $ closest_ancestor_vars ? : [ ] ; }
Parent template vars.

@since 150424 Initial release.

@param string|null $file Template file.

@return array Parent template vars.
Parent template vars .