public function attach(\SplObserver $observer, $eventName = Null, $function = Null, $order = Null) {
        $newEventAttach = new \stdClass();
        $newEventAttach->observer  = $observer;
        $newEventAttach->function  = $function;
        $newEventAttach->eventName = $eventName;
        $newEventAttach->order     = $order;
        $this->_observers->attach($newEventAttach);
    }