diff --git a/libs/Daux.php b/libs/Daux.php index 9a56106..e6f3edd 100644 --- a/libs/Daux.php +++ b/libs/Daux.php @@ -98,6 +98,13 @@ class Daux } } + /** + * Get the file requested for configuration overrides + * + * @param string|null $override_file + * @return string|null the path to a file to load for configuration overrides + * @throws Exception + */ public function getConfigurationOverride($override_file) { // When running through `daux --serve` we set an environment variable to know where we started from diff --git a/libs/Format/Confluence/ContentPage.php b/libs/Format/Confluence/ContentPage.php index cb29afe..ef16a86 100644 --- a/libs/Format/Confluence/ContentPage.php +++ b/libs/Format/Confluence/ContentPage.php @@ -43,6 +43,13 @@ class ContentPage extends \Todaymade\Daux\Format\Base\ContentPage return $intro . $content; } + /** + * Create an image tag for the specified filename + * + * @param string $filename + * @param array $attributes + * @return string + */ private function createImageTag($filename, $attributes) { $img = 'manuallySetContent) { $content = $this->content; } else if (!$this->getPath()) { @@ -123,6 +122,12 @@ class Content extends ContentAbstract $this->attributes = $attributes; } + /** + * Get one or all attributes for the content + * + * @param string|null $key + * @return array|mixed|null + */ public function getAttribute($key = null) { if ($this->attributes === null) {