2017 © Pedro Peláez
 

library dotify

Eskirex Dotify Component

image

eskirex/dotify

Eskirex Dotify Component

  • Monday, July 23, 2018
  • by eskirex
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 17 % Grown

The README.md

Eskirex Dotify Component

Hello. This is Dotify component., (*1)

Examples

<?php
    use Eskirex\Component\Dotify\Dotify;
    $arr = [
        'foo' => [
            'bar' => 'baz'
        ]
    ];

    $dotify = new Dotify($arr); // Optional method "setArray" or "setReferenceArray"
                                // Optional anonymous helper function "dotify()"

    print_r($dotify->get('foo'));       // Array
                                        // (
                                        //     [bar] => baz
                                        // )

    print_r($dotify->merge('foo', [     // Array
        'baz' => 'bar'                  // (
    ]));                                //     [bar] => baz
                                        //     [baz] => bar
                                        // )


License

MIT, (*2)

The Versions

23/07 2018

dev-master

9999999-dev http://www.eskirex.com

Eskirex Dotify Component

  Sources   Download

MIT

The Requires

  • php ^7.1.3

 

by Avatar eskirex