diff options
Diffstat (limited to 'vendor/mikespub/php-epub-meta/src/Contents/Nav.php')
-rw-r--r-- | vendor/mikespub/php-epub-meta/src/Contents/Nav.php | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/vendor/mikespub/php-epub-meta/src/Contents/Nav.php b/vendor/mikespub/php-epub-meta/src/Contents/Nav.php deleted file mode 100644 index e8eb980a6..000000000 --- a/vendor/mikespub/php-epub-meta/src/Contents/Nav.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php - -namespace SebLucas\EPubMeta\Contents; - -/** - * EPUB NAV structure for EPUB 3 - * - * @author Simon Schrape <simon@epubli.com> - */ -class Nav -{ - /** @var string from main document */ - protected $docTitle; - /** @var string from main document */ - protected $docAuthor; - /** @var NavPointList */ - protected $navMap; - - /** - * Summary of __construct - * @param string $title - * @param string $author - */ - public function __construct($title, $author) - { - $this->docTitle = $title; - $this->docAuthor = $author; - $this->navMap = new NavPointList(); - } - - /** - * @return string - */ - public function getDocTitle() - { - return $this->docTitle; - } - - /** - * @return string - */ - public function getDocAuthor() - { - return $this->docAuthor; - } - - /** - * @return NavPointList - */ - public function getNavMap() - { - return $this->navMap; - } - - /** - * @param string $file - * @return array|NavPoint[] - */ - public function findNavPointsForFile($file) - { - return $this->getNavMap()->findNavPointsForFile($file); - } -} |