PHP Class Pickle\Package\Util\JSON\Dumper

Show file Open project: friendsofphp/pickle Class Usage Examples

Public Methods

Method Description
dump ( Pickle\Base\Interfaces\Package $package, $with_version = true ) : string
dumpToFile ( Pickle\Base\Interfaces\Package $package, string $path, $with_version = true )

Method Details

dump() public method

public dump ( Pickle\Base\Interfaces\Package $package, $with_version = true ) : string
$package Pickle\Base\Interfaces\Package
return string

dumpToFile() public method

public dumpToFile ( Pickle\Base\Interfaces\Package $package, string $path, $with_version = true )
$package Pickle\Base\Interfaces\Package
$path string