Neuron-PHP

Version
in package

Table of Contents

Methods

fromFile()  : Version
Loads version information from a json file.
fromString()  : Version
Parses version information from a json string.

Methods

fromFile()

Loads version information from a json file.

public static fromFile([string $file = '.version.json' ][, IFileSystem|null $fs = null ]) : Version
Parameters
$file : string = '.version.json'
$fs : IFileSystem|null = null

File system implementation (null = use real file system)

Tags
throws
Exception
Return values
Version

fromString()

Parses version information from a json string.

public static fromString(string $data) : Version
Parameters
$data : string
Tags
throws
Exception
Return values
Version

        
On this page

Search results