weew / helpers-object
Collection of helper functions for objects.
Installs: 81
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/weew/helpers-object
Requires (Dev)
- phpunit/phpunit: ^4.7
- satooshi/php-coveralls: ^0.6.1
This package is not auto-updated.
Last update: 2025-10-08 02:34:52 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)