db
IZON\Object Namespace Reference

Functions

 copyProperties ($dest, $orig, array $ignoreProperties=[])
 
 createGetterMethodName ($propertyName)
 
 createSetterMethodName ($propertyName)
 

Detailed Description

fuctions to work with objects

Function Documentation

◆ copyProperties()

IZON\Object\copyProperties (   $dest,
  $orig,
array  $ignoreProperties = [] 
)

provadi shalow copy kopiruje property z $orig do $dest pres gettery a settery property se kopiruje pokud existuje get* metoda v $orig a set* metoda v $dest

Parameters
object$destz
object$origdo
array$ignorePropertiesdo
Exceptions
Exception

◆ createGetterMethodName()

IZON\Object\createGetterMethodName (   $propertyName)

◆ createSetterMethodName()

IZON\Object\createSetterMethodName (   $propertyName)