NAME

PFT::Content::Base - Base class for content

SYNOPSIS

use parent 'PFT::Content::Base'

sub new {
    my $cls = shift;
    ...
    $cls->SUPER::new({
        tree => $tree,
        name => $name,
    })
    ...
}

DESCRIPTION

This class is a common base for for all PFT::Content::* classes.

Properties

tree

Path object

name

Name of the object