#Array Fetcher
A simple library that allows you to get an array of information from a file.
##Requirements
PHP 5.4
##Installation
You should install Array Fetcher using composer.
{
"require": {
"willskates/arrayfetcher": "1.*"
}
}
##Usage
###Getting an array from a file.
use WillSkates\ArrayFetcher\ArrayFetcher;
$fetcher = new ArrayFetcher();
$array = $fetcher->fetch('/path/to/filename.extension');
###Getting an array from a file contained within a base directrory.
use WillSkates\ArrayFetcher\ArrayFetcher;
$dir = new ArrayFetcher('/path/to/dir');
$array = $dir->fetch('filename.extension');