PHPePub\Core\Structure\Opf::__construct PHP Method

__construct() public method

Class constructor.
public __construct ( string $ident = "BookId", string $bookVersion = EPub::BOOK_VERSION_EPUB2 )
$ident string
$bookVersion string
    function __construct($ident = "BookId", $bookVersion = EPub::BOOK_VERSION_EPUB2)
    {
        $this->setIdent($ident);
        $this->setVersion($bookVersion);
        $this->metadata = new Metadata();
        $this->manifest = new Manifest();
        $this->spine = new Spine();
        $this->guide = new Guide();
    }