public get ( ) : |
||
return |
public function get()
{
$fullPath = $this->getFilePath();
if ($this->files->exists($fullPath)) {
$content = $this->files->get($fullPath);
return $this->makeCollection($this->parseResult($content));
}
return $this->makeCollection();
}