protected function initialize()
    {
        if (is_null($this->synchronizerToken)) {
            $this->synchronizerToken = new SynchronizerTokenNativeSession();
        }
        if (is_null($this->validator)) {
            $this->validator = new Validator($this->configuration, $this->getTranslator());
        }
    }
protected function initialize()
    {
        if (is_null($this->synchronizerToken)) {
            $this->synchronizerToken = new SynchronizerTokenNativeSession();
        }
        if (is_null($this->validator)) {
            $this->validator = new Validator($this->configuration, $this->getTranslator());
        }
    }
protected function initialize ( ) { if ( is_null ( $ this -> synchronizerToken ) ) { $ this -> synchronizerToken = new SynchronizerTokenNativeSession ( ) ; } if ( is_null ( $ this -> validator ) ) { $ this -> validator = new Validator ( $ this -> configuration , $ this -> getTranslator ( ) ) ; } }
initialize dependencies
like synchronizer token, validator
initialize dependencies like synchronizer token validator