weew / helpers-object
Collection of helper functions for objects.
v1.1.1
2016-07-21 11:18 UTC
Requires (Dev)
- phpunit/phpunit: ^4.7
- satooshi/php-coveralls: ^0.6.1
This package is not auto-updated.
Last update: 2024-11-19 22:30:02 UTC
README
Table of contents
Installation
composer require weew/helpers-object
Introduction
This tiny library provides various useful helper functions to deal with objects.
Functions
sclone
Safely clones a value using the clone
function if it is an object, simply returns the value otherwise.
mixed sclone(mixed $value)