Hello! I use phalcon 1.3 for few days. I have such code:
$di->setShared($componentName, array(
'className' => $class,
'properties' => $properties,
'calls' => array(
array(
'method' => 'init',
'arguments' => array()
)
),
));
When method init() is invoked on some object calls, the object has no set properties yet. Can I change this behavior? I need set properties before calling init().