public static function makeFromObject( $object )
    {
        // inistante object without going via constructer to allow us to
        $refl = new \ReflectionClass( __CLASS__ );
        $obj = $refl->newInstanceWithoutConstructor();
        $obj->isValid = true;
        $obj->decoded = $object;
        return $obj;
    }
public static function makeFromObject( $object )
    {
        // inistante object without going via constructer to allow us to
        $refl = new \ReflectionClass( __CLASS__ );
        $obj = $refl->newInstanceWithoutConstructor();
        $obj->isValid = true;
        $obj->decoded = $object;
        return $obj;
    }
public static function makeFromObject ( $ object ) { // inistante object without going via constructer to allow us to $ refl = new \ ReflectionClass ( __CLASS__ ) ; $ obj = $ refl -> newInstanceWithoutConstructor ( ) ; $ obj -> isValid = true ; $ obj -> decoded = $ object ; return $ obj ; }
Static entry point to generate a json_object from something that can be json_serialized
We don't need to validate or calc the json representation as this can be calculated lazily
@return Bond\Entity\Type\Json
Static entry point to generate a json_object from something that can be json_serialized We don t need to validate or calc the json representation as this can be calculated lazily