public function source(Table $table = null)
    {
        deprecationWarning(
            get_called_class() . '::source() is deprecated. ' .
            'Use setSource()/getSource() instead.'
        );
        if ($table === null) {
            return $this->_sourceTable;
        }

        return $this->_sourceTable = $table;
    }
public function source(Table $table = null)
    {
        deprecationWarning(
            get_called_class() . '::source() is deprecated. ' .
            'Use setSource()/getSource() instead.'
        );
        if ($table === null) {
            return $this->_sourceTable;
        }

        return $this->_sourceTable = $table;
    }
public function source ( Table $ table = null ) { deprecationWarning ( get_called_class ( ) . '::source() is deprecated. ' . 'Use setSource()/getSource() instead.' ) ; if ( $ table === null ) { return $ this -> _sourceTable ; } return $ this -> _sourceTable = $ table ; }
Sets the table instance for the source side of the association. If no arguments
are passed, the current configured table instance is returned

@deprecated 3.4.0 Use setSource()/getSource() instead.
@param \Cake\ORM\Table|null $table the instance to be assigned as source side
@return \Cake\ORM\Table
Sets the table instance for the source side of the association . If no arguments are passed the current configured table instance is returned