Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 586 Bytes

Readme.md

File metadata and controls

35 lines (27 loc) · 586 Bytes

File writer

Simple wrapper for write to file.

Install

  $ composer require lukashron/file-writer

Basic usage

    // Create file manager
    $fileManager = new FileManager();
    
    // File handling
    $file = $fileManager->get($testFile);
    $file->write($controlString);
    
    // And close...
    $fileManager->close($file);

Develop

    # PHPRector
    $ docker compose exec app php vendor/bin/rector process
    
    # Tests
    $ docker compose exec app php vendor/bin/phpunit

Copyright (c) 2023 Lukas Hron