Advertisement
fruffl

static signal

Jan 26th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 24.64 KB | None | 0 0
  1.     class baz extends \ILLI\Core\StaticObject
  2.     {
  3.         protected static $baz = [];
  4.         public static function reseiveMyWorld($property, $value)
  5.         {
  6.             return static::aspectable(__FUNCTION__, get_defined_vars(), function($property, $value)
  7.             {
  8.                 static::$baz = [__METHOD__ => get_defined_vars()];
  9.                 return get_defined_vars();
  10.             });
  11.         }
  12.     }
  13.    
  14.     baz::construct();
  15.    
  16.     class bar extends \ILLI\Net\Message {}
  17.     class foo extends \ILLI\Net\Message {}
  18.    
  19.     $bar = new bar;
  20.     $foo = new foo;
  21.    
  22.     baz::registerSignal('reseiveMyWorld', baz::T_SIGNAL_EMIT_EVENT_INIT, 499, [$foo, 'propertySet']);
  23.     baz::registerSignal('reseiveMyWorld', baz::T_SIGNAL_EMIT_EVENT_INIT, 500, [$bar, 'propertySet']);
  24.     baz::registerSignal('reseiveMyWorld', baz::T_SIGNAL_EMIT_EVENT_INIT, 501, function($_, $_, $_, $params){ return $params; });
  25.    
  26.     baz::reseiveMyWorld('scheme', 'http');
  27.    
  28.     var_dump($foo->to('array'));
  29.     var_dump($bar->to('array'));
  30.     var_dump(baz::to('array'));
  31.    
  32.     var_dump($foo, $bar);
  33.    
  34.    
  35. /**
  36. array(7) {
  37.   ["scheme"]=>
  38.   string(4) "http"
  39.   ["host"]=>
  40.   string(9) "localhost"
  41.   ["port"]=>
  42.   NULL
  43.   ["username"]=>
  44.   NULL
  45.   ["password"]=>
  46.   NULL
  47.   ["path"]=>
  48.   NULL
  49.   ["body"]=>
  50.   array(0) {
  51.   }
  52. }
  53. array(7) {
  54.   ["scheme"]=>
  55.   string(4) "http"
  56.   ["host"]=>
  57.   string(9) "localhost"
  58.   ["port"]=>
  59.   NULL
  60.   ["username"]=>
  61.   NULL
  62.   ["password"]=>
  63.   NULL
  64.   ["path"]=>
  65.   NULL
  66.   ["body"]=>
  67.   array(0) {
  68.   }
  69. }
  70. array(18) {
  71.   ["baz"]=>
  72.   array(1) {
  73.     ["root\baz::root\{closure}"]=>
  74.     array(2) {
  75.       ["property"]=>
  76.       string(6) "scheme"
  77.       ["value"]=>
  78.       string(4) "http"
  79.     }
  80.   }
  81.   ["__initConfig"]=>
  82.   array(10) {
  83.     ["ILLI\Core\StaticObject\I_Object::DEF_RUN"]=>
  84.     bool(true)
  85.     ["ILLI\Core\StaticObject\I_Object::DEF_MAIN"]=>
  86.     string(6) "__main"
  87.     ["ILLI\Core\StaticObject\I_Object::DEF_CLASS"]=>
  88.     array(0) {
  89.     }
  90.     ["ILLI\Core\StaticObject\I_Object::DEF_DELEGATE"]=>
  91.     array(0) {
  92.     }
  93.     ["ILLI\Core\StaticObject\I_Object::DEF_FILTER"]=>
  94.     array(0) {
  95.     }
  96.     ["ILLI\Core\StaticObject\I_Object::DEF_METHOD"]=>
  97.     array(0) {
  98.     }
  99.     ["ILLI\Core\StaticObject\I_Object::DEF_OBSERVER"]=>
  100.     array(0) {
  101.     }
  102.     ["ILLI\Core\StaticObject\I_Object::DEF_METHOD_PROTO"]=>
  103.     array(0) {
  104.     }
  105.     ["ILLI\Core\StaticObject\I_Object::DEF_SIGNAL"]=>
  106.     array(0) {
  107.     }
  108.     ["ILLI\Core\StaticObject\I_Object::DEF_TO"]=>
  109.     array(2) {
  110.       ["string"]=>
  111.       string(8) "toString"
  112.       ["array"]=>
  113.       string(7) "toArray"
  114.     }
  115.   }
  116.   ["__defaultConfig"]=>
  117.   array(0) {
  118.   }
  119.   ["__autoConfig"]=>
  120.   array(0) {
  121.   }
  122.   ["__Core_StaticObject_T_Class_registry"]=>
  123.   array(0) {
  124.   }
  125.   ["__Core_StaticObject_T_Delegate_registry"]=>
  126.   array(0) {
  127.   }
  128.   ["__Core_StaticObject_T_Filter_registry"]=>
  129.   array(0) {
  130.   }
  131.   ["__Core_StaticObject_T_Method_registry"]=>
  132.   array(0) {
  133.   }
  134.   ["__Core_StaticObject_T_MethodFacade_registry"]=>
  135.   array(1) {
  136.     ["ILLI\Action\Dispatcher"]=>
  137.     array(1) {
  138.       ["run"]=>
  139.       array(1) {
  140.         [0]=>
  141.         array(2) {
  142.           [0]=>
  143.           string(22) "ILLI\Action\Dispatcher"
  144.           [1]=>
  145.           object(Closure)#8 (1) {
  146.             ["parameter"]=>
  147.             array(2) {
  148.               ["$params"]=>
  149.               string(10) "<required>"
  150.               ["$chain"]=>
  151.               string(10) "<required>"
  152.             }
  153.           }
  154.         }
  155.       }
  156.     }
  157.   }
  158.   ["__Core_StaticObject_T_MethodProto_registry"]=>
  159.   array(0) {
  160.   }
  161.   ["__Core_StaticObject_T_Observer_registry"]=>
  162.   array(0) {
  163.   }
  164.   ["__Core_StaticObject_T_Signal_registry"]=>
  165.   array(1) {
  166.     ["root\baz"]=>
  167.     array(1) {
  168.       ["reseiveMyWorld"]=>
  169.       array(1) {
  170.         ["ILLI\Core\StaticObject\I_Signal::T_SIGNAL_EMIT_EVENT_INIT"]=>
  171.         array(3) {
  172.           [499]=>
  173.           array(2) {
  174.             [0]=>
  175.             object(root\foo)#9 (19) {
  176.               ["scheme":protected]=>
  177.               string(4) "http"
  178.               ["host":protected]=>
  179.               string(9) "localhost"
  180.               ["port":protected]=>
  181.               NULL
  182.               ["username":protected]=>
  183.               NULL
  184.               ["password":protected]=>
  185.               NULL
  186.               ["path":protected]=>
  187.               NULL
  188.               ["body":protected]=>
  189.               array(0) {
  190.               }
  191.               ["__initConfig":protected]=>
  192.               array(17) {
  193.                 ["ILLI\Core\Object\I_Object::DEF_RUN"]=>
  194.                 bool(true)
  195.                 ["ILLI\Core\Object\I_Object::DEF_MAIN"]=>
  196.                 string(6) "__main"
  197.                 ["ILLI\Core\Object\I_Object::DEF_CLASS"]=>
  198.                 array(0) {
  199.                 }
  200.                 ["ILLI\Core\Object\I_Object::DEF_DELEGATE"]=>
  201.                 array(0) {
  202.                 }
  203.                 ["ILLI\Core\Object\I_Object::DEF_FILTER"]=>
  204.                 array(0) {
  205.                 }
  206.                 ["ILLI\Core\Object\I_Object::DEF_METHOD"]=>
  207.                 array(0) {
  208.                 }
  209.                 ["ILLI\Core\Object\I_Object::DEF_OBSERVER"]=>
  210.                 array(0) {
  211.                 }
  212.                 ["ILLI\Core\Object\I_Object::DEF_METHOD_PROTO"]=>
  213.                 array(0) {
  214.                 }
  215.                 ["ILLI\Core\Object\I_Object::DEF_SIGNAL"]=>
  216.                 array(0) {
  217.                 }
  218.                 ["ILLI\Core\Object\I_Object::DEF_TO"]=>
  219.                 array(9) {
  220.                   ["string"]=>
  221.                   string(8) "toString"
  222.                   ["array"]=>
  223.                   string(7) "toArray"
  224.                   ["body"]=>
  225.                   string(6) "toBody"
  226.                   ["context"]=>
  227.                   string(9) "toContext"
  228.                   ["hostAndDefaultPort"]=>
  229.                   string(20) "toHostAndDefaultPort"
  230.                   ["hostAndPort"]=>
  231.                   string(13) "toHostAndPort"
  232.                   ["uri"]=>
  233.                   string(5) "toUri"
  234.                   ["url"]=>
  235.                   string(5) "toUrl"
  236.                   ["port"]=>
  237.                   string(6) "toPort"
  238.                 }
  239.                 ["scheme"]=>
  240.                 string(3) "tcp"
  241.                 ["host"]=>
  242.                 string(9) "localhost"
  243.                 ["port"]=>
  244.                 NULL
  245.                 ["path"]=>
  246.                 NULL
  247.                 ["username"]=>
  248.                 NULL
  249.                 ["password"]=>
  250.                 NULL
  251.                 ["body"]=>
  252.                 array(0) {
  253.                 }
  254.               }
  255.               ["__export"]=>
  256.               array(0) {
  257.               }
  258.               ["__Core_Object_T_Class_registry":protected]=>
  259.               array(0) {
  260.               }
  261.               ["__Core_Object_T_Delegate_registry":protected]=>
  262.               array(0) {
  263.               }
  264.               ["__Core_Object_T_Filter_registry":protected]=>
  265.               array(0) {
  266.               }
  267.               ["__Core_Object_T_Method_registry":protected]=>
  268.               array(0) {
  269.               }
  270.               ["__Core_Object_T_MethodFacade_registry":protected]=>
  271.               array(0) {
  272.               }
  273.               ["__Core_Object_T_MethodProto_registry":protected]=>
  274.               array(0) {
  275.               }
  276.               ["__Core_Object_T_Observer_registry":protected]=>
  277.               array(0) {
  278.               }
  279.               ["__Core_Object_T_Signal_registry":protected]=>
  280.               array(0) {
  281.               }
  282.               ["__Core_Object_T_Signal_results":protected]=>
  283.               array(0) {
  284.               }
  285.               ["__Core_Object_T_To_registry":protected]=>
  286.               array(9) {
  287.                 ["string"]=>
  288.                 array(2) {
  289.                   [0]=>
  290.                   *RECURSION*
  291.                   [1]=>
  292.                   string(8) "toString"
  293.                 }
  294.                 ["array"]=>
  295.                 array(2) {
  296.                   [0]=>
  297.                   *RECURSION*
  298.                   [1]=>
  299.                   string(7) "toArray"
  300.                 }
  301.                 ["body"]=>
  302.                 array(2) {
  303.                   [0]=>
  304.                   *RECURSION*
  305.                   [1]=>
  306.                   string(6) "toBody"
  307.                 }
  308.                 ["context"]=>
  309.                 array(2) {
  310.                   [0]=>
  311.                   *RECURSION*
  312.                   [1]=>
  313.                   string(9) "toContext"
  314.                 }
  315.                 ["hostAndDefaultPort"]=>
  316.                 array(2) {
  317.                   [0]=>
  318.                   *RECURSION*
  319.                   [1]=>
  320.                   string(20) "toHostAndDefaultPort"
  321.                 }
  322.                 ["hostAndPort"]=>
  323.                 array(2) {
  324.                   [0]=>
  325.                   *RECURSION*
  326.                   [1]=>
  327.                   string(13) "toHostAndPort"
  328.                 }
  329.                 ["uri"]=>
  330.                 array(2) {
  331.                   [0]=>
  332.                   *RECURSION*
  333.                   [1]=>
  334.                   string(5) "toUri"
  335.                 }
  336.                 ["url"]=>
  337.                 array(2) {
  338.                   [0]=>
  339.                   *RECURSION*
  340.                   [1]=>
  341.                   string(5) "toUrl"
  342.                 }
  343.                 ["port"]=>
  344.                 array(2) {
  345.                   [0]=>
  346.                   *RECURSION*
  347.                   [1]=>
  348.                   string(6) "toPort"
  349.                 }
  350.               }
  351.             }
  352.             [1]=>
  353.             string(11) "propertySet"
  354.           }
  355.           [500]=>
  356.           array(2) {
  357.             [0]=>
  358.             object(root\bar)#6 (19) {
  359.               ["scheme":protected]=>
  360.               string(4) "http"
  361.               ["host":protected]=>
  362.               string(9) "localhost"
  363.               ["port":protected]=>
  364.               NULL
  365.               ["username":protected]=>
  366.               NULL
  367.               ["password":protected]=>
  368.               NULL
  369.               ["path":protected]=>
  370.               NULL
  371.               ["body":protected]=>
  372.               array(0) {
  373.               }
  374.               ["__initConfig":protected]=>
  375.               array(17) {
  376.                 ["ILLI\Core\Object\I_Object::DEF_RUN"]=>
  377.                 bool(true)
  378.                 ["ILLI\Core\Object\I_Object::DEF_MAIN"]=>
  379.                 string(6) "__main"
  380.                 ["ILLI\Core\Object\I_Object::DEF_CLASS"]=>
  381.                 array(0) {
  382.                 }
  383.                 ["ILLI\Core\Object\I_Object::DEF_DELEGATE"]=>
  384.                 array(0) {
  385.                 }
  386.                 ["ILLI\Core\Object\I_Object::DEF_FILTER"]=>
  387.                 array(0) {
  388.                 }
  389.                 ["ILLI\Core\Object\I_Object::DEF_METHOD"]=>
  390.                 array(0) {
  391.                 }
  392.                 ["ILLI\Core\Object\I_Object::DEF_OBSERVER"]=>
  393.                 array(0) {
  394.                 }
  395.                 ["ILLI\Core\Object\I_Object::DEF_METHOD_PROTO"]=>
  396.                 array(0) {
  397.                 }
  398.                 ["ILLI\Core\Object\I_Object::DEF_SIGNAL"]=>
  399.                 array(0) {
  400.                 }
  401.                 ["ILLI\Core\Object\I_Object::DEF_TO"]=>
  402.                 array(9) {
  403.                   ["string"]=>
  404.                   string(8) "toString"
  405.                   ["array"]=>
  406.                   string(7) "toArray"
  407.                   ["body"]=>
  408.                   string(6) "toBody"
  409.                   ["context"]=>
  410.                   string(9) "toContext"
  411.                   ["hostAndDefaultPort"]=>
  412.                   string(20) "toHostAndDefaultPort"
  413.                   ["hostAndPort"]=>
  414.                   string(13) "toHostAndPort"
  415.                   ["uri"]=>
  416.                   string(5) "toUri"
  417.                   ["url"]=>
  418.                   string(5) "toUrl"
  419.                   ["port"]=>
  420.                   string(6) "toPort"
  421.                 }
  422.                 ["scheme"]=>
  423.                 string(3) "tcp"
  424.                 ["host"]=>
  425.                 string(9) "localhost"
  426.                 ["port"]=>
  427.                 NULL
  428.                 ["path"]=>
  429.                 NULL
  430.                 ["username"]=>
  431.                 NULL
  432.                 ["password"]=>
  433.                 NULL
  434.                 ["body"]=>
  435.                 array(0) {
  436.                 }
  437.               }
  438.               ["__export"]=>
  439.               array(0) {
  440.               }
  441.               ["__Core_Object_T_Class_registry":protected]=>
  442.               array(0) {
  443.               }
  444.               ["__Core_Object_T_Delegate_registry":protected]=>
  445.               array(0) {
  446.               }
  447.               ["__Core_Object_T_Filter_registry":protected]=>
  448.               array(0) {
  449.               }
  450.               ["__Core_Object_T_Method_registry":protected]=>
  451.               array(0) {
  452.               }
  453.               ["__Core_Object_T_MethodFacade_registry":protected]=>
  454.               array(0) {
  455.               }
  456.               ["__Core_Object_T_MethodProto_registry":protected]=>
  457.               array(0) {
  458.               }
  459.               ["__Core_Object_T_Observer_registry":protected]=>
  460.               array(0) {
  461.               }
  462.               ["__Core_Object_T_Signal_registry":protected]=>
  463.               array(0) {
  464.               }
  465.               ["__Core_Object_T_Signal_results":protected]=>
  466.               array(0) {
  467.               }
  468.               ["__Core_Object_T_To_registry":protected]=>
  469.               array(9) {
  470.                 ["string"]=>
  471.                 array(2) {
  472.                   [0]=>
  473.                   *RECURSION*
  474.                   [1]=>
  475.                   string(8) "toString"
  476.                 }
  477.                 ["array"]=>
  478.                 array(2) {
  479.                   [0]=>
  480.                   *RECURSION*
  481.                   [1]=>
  482.                   string(7) "toArray"
  483.                 }
  484.                 ["body"]=>
  485.                 array(2) {
  486.                   [0]=>
  487.                   *RECURSION*
  488.                   [1]=>
  489.                   string(6) "toBody"
  490.                 }
  491.                 ["context"]=>
  492.                 array(2) {
  493.                   [0]=>
  494.                   *RECURSION*
  495.                   [1]=>
  496.                   string(9) "toContext"
  497.                 }
  498.                 ["hostAndDefaultPort"]=>
  499.                 array(2) {
  500.                   [0]=>
  501.                   *RECURSION*
  502.                   [1]=>
  503.                   string(20) "toHostAndDefaultPort"
  504.                 }
  505.                 ["hostAndPort"]=>
  506.                 array(2) {
  507.                   [0]=>
  508.                   *RECURSION*
  509.                   [1]=>
  510.                   string(13) "toHostAndPort"
  511.                 }
  512.                 ["uri"]=>
  513.                 array(2) {
  514.                   [0]=>
  515.                   *RECURSION*
  516.                   [1]=>
  517.                   string(5) "toUri"
  518.                 }
  519.                 ["url"]=>
  520.                 array(2) {
  521.                   [0]=>
  522.                   *RECURSION*
  523.                   [1]=>
  524.                   string(5) "toUrl"
  525.                 }
  526.                 ["port"]=>
  527.                 array(2) {
  528.                   [0]=>
  529.                   *RECURSION*
  530.                   [1]=>
  531.                   string(6) "toPort"
  532.                 }
  533.               }
  534.             }
  535.             [1]=>
  536.             string(11) "propertySet"
  537.           }
  538.           [501]=>
  539.           array(2) {
  540.             [0]=>
  541.             string(8) "root\baz"
  542.             [1]=>
  543.             object(Closure)#11 (1) {
  544.               ["parameter"]=>
  545.               array(2) {
  546.                 ["$_"]=>
  547.                 string(10) "<required>"
  548.                 ["$params"]=>
  549.                 string(10) "<required>"
  550.               }
  551.             }
  552.           }
  553.         }
  554.       }
  555.     }
  556.   }
  557.   ["__Core_StaticObject_T_Signal_results"]=>
  558.   array(1) {
  559.     ["root\baz"]=>
  560.     array(1) {
  561.       ["reseiveMyWorld"]=>
  562.       array(1) {
  563.         ["ILLI\Core\StaticObject\I_Signal::T_SIGNAL_EMIT_EVENT_INIT"]=>
  564.         array(3) {
  565.           [499]=>
  566.           string(4) "http"
  567.           [500]=>
  568.           string(4) "http"
  569.           [501]=>
  570.           array(2) {
  571.             ["property"]=>
  572.             string(6) "scheme"
  573.             ["value"]=>
  574.             string(4) "http"
  575.           }
  576.         }
  577.       }
  578.     }
  579.   }
  580.   ["__Core_StaticObject_T_To_registry"]=>
  581.   array(1) {
  582.     ["root\baz"]=>
  583.     array(2) {
  584.       ["string"]=>
  585.       array(2) {
  586.         [0]=>
  587.         string(8) "root\baz"
  588.         [1]=>
  589.         string(8) "toString"
  590.       }
  591.       ["array"]=>
  592.       array(2) {
  593.         [0]=>
  594.         string(8) "root\baz"
  595.         [1]=>
  596.         string(7) "toArray"
  597.       }
  598.     }
  599.   }
  600.   ["__configCache"]=>
  601.   array(1) {
  602.     ["root\baz"]=>
  603.     array(2) {
  604.       ["__autoConfig"]=>
  605.       array(0) {
  606.       }
  607.       ["__defaultConfig"]=>
  608.       array(0) {
  609.       }
  610.     }
  611.   }
  612.   ["__baseOptions"]=>
  613.   array(10) {
  614.     ["ILLI\Core\StaticObject\I_Object::DEF_RUN"]=>
  615.     bool(true)
  616.     ["ILLI\Core\StaticObject\I_Object::DEF_MAIN"]=>
  617.     string(6) "__main"
  618.     ["ILLI\Core\StaticObject\I_Object::DEF_CLASS"]=>
  619.     array(0) {
  620.     }
  621.     ["ILLI\Core\StaticObject\I_Object::DEF_DELEGATE"]=>
  622.     array(0) {
  623.     }
  624.     ["ILLI\Core\StaticObject\I_Object::DEF_FILTER"]=>
  625.     array(0) {
  626.     }
  627.     ["ILLI\Core\StaticObject\I_Object::DEF_METHOD"]=>
  628.     array(0) {
  629.     }
  630.     ["ILLI\Core\StaticObject\I_Object::DEF_OBSERVER"]=>
  631.     array(0) {
  632.     }
  633.     ["ILLI\Core\StaticObject\I_Object::DEF_METHOD_PROTO"]=>
  634.     array(0) {
  635.     }
  636.     ["ILLI\Core\StaticObject\I_Object::DEF_SIGNAL"]=>
  637.     array(0) {
  638.     }
  639.     ["ILLI\Core\StaticObject\I_Object::DEF_TO"]=>
  640.     array(2) {
  641.       ["string"]=>
  642.       string(8) "toString"
  643.       ["array"]=>
  644.       string(7) "toArray"
  645.     }
  646.   }
  647.   ["__parentClassCache"]=>
  648.   array(1) {
  649.     [0]=>
  650.     array(4) {
  651.       [0]=>
  652.       string(8) "root\foo"
  653.       [1]=>
  654.       string(16) "ILLI\Net\Message"
  655.       [2]=>
  656.       string(16) "ILLI\Core\Object"
  657.       [3]=>
  658.       string(18) "ILLI\Core\A_Object"
  659.     }
  660.   }
  661.   ["__traitCache"]=>
  662.   array(0) {
  663.   }
  664. }
  665. object(root\foo)#9 (19) {
  666.   ["scheme":protected]=>
  667.   string(4) "http"
  668.   ["host":protected]=>
  669.   string(9) "localhost"
  670.   ["port":protected]=>
  671.   NULL
  672.   ["username":protected]=>
  673.   NULL
  674.   ["password":protected]=>
  675.   NULL
  676.   ["path":protected]=>
  677.   NULL
  678.   ["body":protected]=>
  679.   array(0) {
  680.   }
  681.   ["__initConfig":protected]=>
  682.   array(17) {
  683.     ["ILLI\Core\Object\I_Object::DEF_RUN"]=>
  684.     bool(true)
  685.     ["ILLI\Core\Object\I_Object::DEF_MAIN"]=>
  686.     string(6) "__main"
  687.     ["ILLI\Core\Object\I_Object::DEF_CLASS"]=>
  688.     array(0) {
  689.     }
  690.     ["ILLI\Core\Object\I_Object::DEF_DELEGATE"]=>
  691.     array(0) {
  692.     }
  693.     ["ILLI\Core\Object\I_Object::DEF_FILTER"]=>
  694.     array(0) {
  695.     }
  696.     ["ILLI\Core\Object\I_Object::DEF_METHOD"]=>
  697.     array(0) {
  698.     }
  699.     ["ILLI\Core\Object\I_Object::DEF_OBSERVER"]=>
  700.     array(0) {
  701.     }
  702.     ["ILLI\Core\Object\I_Object::DEF_METHOD_PROTO"]=>
  703.     array(0) {
  704.     }
  705.     ["ILLI\Core\Object\I_Object::DEF_SIGNAL"]=>
  706.     array(0) {
  707.     }
  708.     ["ILLI\Core\Object\I_Object::DEF_TO"]=>
  709.     array(9) {
  710.       ["string"]=>
  711.       string(8) "toString"
  712.       ["array"]=>
  713.       string(7) "toArray"
  714.       ["body"]=>
  715.       string(6) "toBody"
  716.       ["context"]=>
  717.       string(9) "toContext"
  718.       ["hostAndDefaultPort"]=>
  719.       string(20) "toHostAndDefaultPort"
  720.       ["hostAndPort"]=>
  721.       string(13) "toHostAndPort"
  722.       ["uri"]=>
  723.       string(5) "toUri"
  724.       ["url"]=>
  725.       string(5) "toUrl"
  726.       ["port"]=>
  727.       string(6) "toPort"
  728.     }
  729.     ["scheme"]=>
  730.     string(3) "tcp"
  731.     ["host"]=>
  732.     string(9) "localhost"
  733.     ["port"]=>
  734.     NULL
  735.     ["path"]=>
  736.     NULL
  737.     ["username"]=>
  738.     NULL
  739.     ["password"]=>
  740.     NULL
  741.     ["body"]=>
  742.     array(0) {
  743.     }
  744.   }
  745.   ["__export"]=>
  746.   array(0) {
  747.   }
  748.   ["__Core_Object_T_Class_registry":protected]=>
  749.   array(0) {
  750.   }
  751.   ["__Core_Object_T_Delegate_registry":protected]=>
  752.   array(0) {
  753.   }
  754.   ["__Core_Object_T_Filter_registry":protected]=>
  755.   array(0) {
  756.   }
  757.   ["__Core_Object_T_Method_registry":protected]=>
  758.   array(0) {
  759.   }
  760.   ["__Core_Object_T_MethodFacade_registry":protected]=>
  761.   array(0) {
  762.   }
  763.   ["__Core_Object_T_MethodProto_registry":protected]=>
  764.   array(0) {
  765.   }
  766.   ["__Core_Object_T_Observer_registry":protected]=>
  767.   array(0) {
  768.   }
  769.   ["__Core_Object_T_Signal_registry":protected]=>
  770.   array(0) {
  771.   }
  772.   ["__Core_Object_T_Signal_results":protected]=>
  773.   array(0) {
  774.   }
  775.   ["__Core_Object_T_To_registry":protected]=>
  776.   array(9) {
  777.     ["string"]=>
  778.     array(2) {
  779.       [0]=>
  780.       *RECURSION*
  781.       [1]=>
  782.       string(8) "toString"
  783.     }
  784.     ["array"]=>
  785.     array(2) {
  786.       [0]=>
  787.       *RECURSION*
  788.       [1]=>
  789.       string(7) "toArray"
  790.     }
  791.     ["body"]=>
  792.     array(2) {
  793.       [0]=>
  794.       *RECURSION*
  795.       [1]=>
  796.       string(6) "toBody"
  797.     }
  798.     ["context"]=>
  799.     array(2) {
  800.       [0]=>
  801.       *RECURSION*
  802.       [1]=>
  803.       string(9) "toContext"
  804.     }
  805.     ["hostAndDefaultPort"]=>
  806.     array(2) {
  807.       [0]=>
  808.       *RECURSION*
  809.       [1]=>
  810.       string(20) "toHostAndDefaultPort"
  811.     }
  812.     ["hostAndPort"]=>
  813.     array(2) {
  814.       [0]=>
  815.       *RECURSION*
  816.       [1]=>
  817.       string(13) "toHostAndPort"
  818.     }
  819.     ["uri"]=>
  820.     array(2) {
  821.       [0]=>
  822.       *RECURSION*
  823.       [1]=>
  824.       string(5) "toUri"
  825.     }
  826.     ["url"]=>
  827.     array(2) {
  828.       [0]=>
  829.       *RECURSION*
  830.       [1]=>
  831.       string(5) "toUrl"
  832.     }
  833.     ["port"]=>
  834.     array(2) {
  835.       [0]=>
  836.       *RECURSION*
  837.       [1]=>
  838.       string(6) "toPort"
  839.     }
  840.   }
  841. }
  842. object(root\bar)#6 (19) {
  843.   ["scheme":protected]=>
  844.   string(4) "http"
  845.   ["host":protected]=>
  846.   string(9) "localhost"
  847.   ["port":protected]=>
  848.   NULL
  849.   ["username":protected]=>
  850.   NULL
  851.   ["password":protected]=>
  852.   NULL
  853.   ["path":protected]=>
  854.   NULL
  855.   ["body":protected]=>
  856.   array(0) {
  857.   }
  858.   ["__initConfig":protected]=>
  859.   array(17) {
  860.     ["ILLI\Core\Object\I_Object::DEF_RUN"]=>
  861.     bool(true)
  862.     ["ILLI\Core\Object\I_Object::DEF_MAIN"]=>
  863.     string(6) "__main"
  864.     ["ILLI\Core\Object\I_Object::DEF_CLASS"]=>
  865.     array(0) {
  866.     }
  867.     ["ILLI\Core\Object\I_Object::DEF_DELEGATE"]=>
  868.     array(0) {
  869.     }
  870.     ["ILLI\Core\Object\I_Object::DEF_FILTER"]=>
  871.     array(0) {
  872.     }
  873.     ["ILLI\Core\Object\I_Object::DEF_METHOD"]=>
  874.     array(0) {
  875.     }
  876.     ["ILLI\Core\Object\I_Object::DEF_OBSERVER"]=>
  877.     array(0) {
  878.     }
  879.     ["ILLI\Core\Object\I_Object::DEF_METHOD_PROTO"]=>
  880.     array(0) {
  881.     }
  882.     ["ILLI\Core\Object\I_Object::DEF_SIGNAL"]=>
  883.     array(0) {
  884.     }
  885.     ["ILLI\Core\Object\I_Object::DEF_TO"]=>
  886.     array(9) {
  887.       ["string"]=>
  888.       string(8) "toString"
  889.       ["array"]=>
  890.       string(7) "toArray"
  891.       ["body"]=>
  892.       string(6) "toBody"
  893.       ["context"]=>
  894.       string(9) "toContext"
  895.       ["hostAndDefaultPort"]=>
  896.       string(20) "toHostAndDefaultPort"
  897.       ["hostAndPort"]=>
  898.       string(13) "toHostAndPort"
  899.       ["uri"]=>
  900.       string(5) "toUri"
  901.       ["url"]=>
  902.       string(5) "toUrl"
  903.       ["port"]=>
  904.       string(6) "toPort"
  905.     }
  906.     ["scheme"]=>
  907.     string(3) "tcp"
  908.     ["host"]=>
  909.     string(9) "localhost"
  910.     ["port"]=>
  911.     NULL
  912.     ["path"]=>
  913.     NULL
  914.     ["username"]=>
  915.     NULL
  916.     ["password"]=>
  917.     NULL
  918.     ["body"]=>
  919.     array(0) {
  920.     }
  921.   }
  922.   ["__export"]=>
  923.   array(0) {
  924.   }
  925.   ["__Core_Object_T_Class_registry":protected]=>
  926.   array(0) {
  927.   }
  928.   ["__Core_Object_T_Delegate_registry":protected]=>
  929.   array(0) {
  930.   }
  931.   ["__Core_Object_T_Filter_registry":protected]=>
  932.   array(0) {
  933.   }
  934.   ["__Core_Object_T_Method_registry":protected]=>
  935.   array(0) {
  936.   }
  937.   ["__Core_Object_T_MethodFacade_registry":protected]=>
  938.   array(0) {
  939.   }
  940.   ["__Core_Object_T_MethodProto_registry":protected]=>
  941.   array(0) {
  942.   }
  943.   ["__Core_Object_T_Observer_registry":protected]=>
  944.   array(0) {
  945.   }
  946.   ["__Core_Object_T_Signal_registry":protected]=>
  947.   array(0) {
  948.   }
  949.   ["__Core_Object_T_Signal_results":protected]=>
  950.   array(0) {
  951.   }
  952.   ["__Core_Object_T_To_registry":protected]=>
  953.   array(9) {
  954.     ["string"]=>
  955.     array(2) {
  956.       [0]=>
  957.       *RECURSION*
  958.       [1]=>
  959.       string(8) "toString"
  960.     }
  961.     ["array"]=>
  962.     array(2) {
  963.       [0]=>
  964.       *RECURSION*
  965.       [1]=>
  966.       string(7) "toArray"
  967.     }
  968.     ["body"]=>
  969.     array(2) {
  970.       [0]=>
  971.       *RECURSION*
  972.       [1]=>
  973.       string(6) "toBody"
  974.     }
  975.     ["context"]=>
  976.     array(2) {
  977.       [0]=>
  978.       *RECURSION*
  979.       [1]=>
  980.       string(9) "toContext"
  981.     }
  982.     ["hostAndDefaultPort"]=>
  983.     array(2) {
  984.       [0]=>
  985.       *RECURSION*
  986.       [1]=>
  987.       string(20) "toHostAndDefaultPort"
  988.     }
  989.     ["hostAndPort"]=>
  990.     array(2) {
  991.       [0]=>
  992.       *RECURSION*
  993.       [1]=>
  994.       string(13) "toHostAndPort"
  995.     }
  996.     ["uri"]=>
  997.     array(2) {
  998.       [0]=>
  999.       *RECURSION*
  1000.       [1]=>
  1001.       string(5) "toUri"
  1002.     }
  1003.     ["url"]=>
  1004.     array(2) {
  1005.       [0]=>
  1006.       *RECURSION*
  1007.       [1]=>
  1008.       string(5) "toUrl"
  1009.     }
  1010.     ["port"]=>
  1011.     array(2) {
  1012.       [0]=>
  1013.       *RECURSION*
  1014.       [1]=>
  1015.       string(6) "toPort"
  1016.     }
  1017.   }
  1018. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement