M1\Vars\Traits\TransformerTrait::toDots PHP Method

toDots() public method

Converts the array into a flat dot notation array
public toDots ( boolean $flatten_array = true ) : array
$flatten_array boolean Flatten arrays into none existent keys
return array The dot notation array
    public function toDots($flatten_array = true)
    {
        return !is_null($this->content) ? $this->dotTransformer($this->content, $flatten_array) : $this->content;
    }