diff --git a/flextype/core/Entries.php b/flextype/core/Entries.php index e1cbcfee..5ce47acc 100755 --- a/flextype/core/Entries.php +++ b/flextype/core/Entries.php @@ -487,7 +487,15 @@ class Entries return false; } - + /** + * Read entry + * + * @param string $id Entry ID + * + * @return bool|array Array of file path and decoded file data, false on failure. + * + * @access public + */ public function read(string $id) { foreach (Parser::$parsers as $parser) { if (Filesystem::has(PATH['entries'] . '/' . $id . '/' . 'entry' . '.' . $parser['ext'])) {