original_string: public function schemaCollection(SchemaCollection $collection = null)
      {
          deprecationWarning(
              'Connection::schemaCollection() is deprecated. ' .
              'Use Connection::setSchemaCollection()/getSchemaCollection() instead.'
          );
          if ($collection !== null) {
              $this->setSchemaCollection($collection);
          }
  
          return $this->getSchemaCollection();
      }
code: public function schemaCollection(SchemaCollection $collection = null)
      {
          deprecationWarning(
              'Connection::schemaCollection() is deprecated. ' .
              'Use Connection::setSchemaCollection()/getSchemaCollection() instead.'
          );
          if ($collection !== null) {
              $this->setSchemaCollection($collection);
          }
  
          return $this->getSchemaCollection();
      }
code_tokens: public function schemaCollection ( SchemaCollection $ collection = null ) { deprecationWarning ( 'Connection::schemaCollection() is deprecated. ' . 'Use Connection::setSchemaCollection()/getSchemaCollection() instead.' ) ; if ( $ collection !== null ) { $ this -> setSchemaCollection ( $ collection ) ; } return $ this -> getSchemaCollection ( ) ; }
docstring: Gets or sets a Schema\Collection object for this connection.
  
  @deprecated 3.4.0 Use setSchemaCollection()/getSchemaCollection()
  @param \Cake\Database\Schema\Collection|null $collection The schema collection object
  @return \Cake\Database\Schema\Collection
docstring_tokens: Gets or sets a Schema \ Collection object for this connection .