public function initialize(Event $event) {
		$table = $event->getSubject();
		if (!in_array(get_class($table), $this->config['tableClass'])) {
			return;
		}

		$this->_setValidators($table);
	}
public function initialize(Event $event) {
		$table = $event->getSubject();
		if (!in_array(get_class($table), $this->config['tableClass'])) {
			return;
		}

		$this->_setValidators($table);
	}
public function initialize ( Event $ event ) { $ table = $ event -> getSubject ( ) ; if ( ! in_array ( get_class ( $ table ) , $ this -> config [ 'tableClass' ] ) ) { return ; } $ this -> _setValidators ( $ table ) ; }
Model initialize event callback

@param \Cake\Event\Event $event Event
@return void
Model initialize event callback