class PropertyParser (View source)

Transform a string of properties into a PHP associative array.

Input:

one: red two: white three: blue

Output:

[ 'one' => 'red', 'two' => 'white', 'three' => 'blue', ]

Methods

static 
parse($data)

No description

Details

static parse($data)

No description

Parameters

$data