src/lib/Herrera/Box/Box.php
public function addFromString($local, $contents)
    {
        $this->phar->addFromString(
            $local,
            $this->replaceValues($this->compactContents($local, $contents))
        );
    }
public function addFromString($local, $contents)
    {
        $this->phar->addFromString(
            $local,
            $this->replaceValues($this->compactContents($local, $contents))
        );
    }
public function addFromString ( $ local , $ contents ) { $ this -> phar -> addFromString ( $ local , $ this -> replaceValues ( $ this -> compactContents ( $ local , $ contents ) ) ) ; }
Adds the contents from a file to the Phar, after compacting it and
replacing its placeholders.

@param string $local    The local name.
@param string $contents The contents.
Adds the contents from a file to the Phar after compacting it and replacing its placeholders .