Asvae\ApiTester\Storages\JsonStorage::get PHP Method

get() public method

Return array parsed from file content.
public get ( ) : RequestCollection
return Asvae\ApiTester\Collections\RequestCollection
    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();
    }