original_string: public function setTable(Table $table)
      {
          $this->_table = $table;
          $eventManager = $table->getEventManager();
          if ($eventManager !== null) {
              $this->setEventManager($eventManager);
          }
      }
code: public function setTable(Table $table)
      {
          $this->_table = $table;
          $eventManager = $table->getEventManager();
          if ($eventManager !== null) {
              $this->setEventManager($eventManager);
          }
      }
code_tokens: public function setTable ( Table $ table ) { $ this -> _table = $ table ; $ eventManager = $ table -> getEventManager ( ) ; if ( $ eventManager !== null ) { $ this -> setEventManager ( $ eventManager ) ; } }
docstring: Attaches a table instance to this registry.
  
  @param \Cake\ORM\Table $table The table this registry is attached to.
  @return void
docstring_tokens: Attaches a table instance to this registry .