bariew/phptools

Tools for web development

Installs: 179

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:helpers

1.0.0 2015-02-12 12:51 UTC

README

  1. FileModel - for extracting and saving data to file.
    $model = new \bariew\phptools\FileModel("/path/to/file.php");
    var_dump($model->data); // array(... file content);
    $model->set('myKey', 'myValue'); // now we have our value in file content array;
    $model->set(['my', 'multidimensional', 'key'], ['myValue']); // putting nested key into depth of file content array.