public function onInitBlamesLimit($event)
    {
        $sender = $event->sender;
        if (!is_int($sender->blamesLimit) || $sender->blamesLimit < 1 || $sender->blamesLimit > 64) {
            $sender->blamesLimit = 10;
        }
    }
public function onInitBlamesLimit($event)
    {
        $sender = $event->sender;
        if (!is_int($sender->blamesLimit) || $sender->blamesLimit < 1 || $sender->blamesLimit > 64) {
            $sender->blamesLimit = 10;
        }
    }
public function onInitBlamesLimit ( $ event ) { $ sender = $ event -> sender ; if ( ! is_int ( $ sender -> blamesLimit ) || $ sender -> blamesLimit < 1 || $ sender -> blamesLimit > 64 ) { $ sender -> blamesLimit = 10 ; } }
Initialize blames limit.
@param ModelEvent $event
Initialize blames limit .