public function property($name = null)
    {
        deprecationWarning(
            get_called_class() . '::property() is deprecated. ' .
            'Use setProperty()/getProperty() instead.'
        );
        if ($name !== null) {
            $this->setProperty($name);
        }

        return $this->getProperty();
    }
public function property($name = null)
    {
        deprecationWarning(
            get_called_class() . '::property() is deprecated. ' .
            'Use setProperty()/getProperty() instead.'
        );
        if ($name !== null) {
            $this->setProperty($name);
        }

        return $this->getProperty();
    }
public function property ( $ name = null ) { deprecationWarning ( get_called_class ( ) . '::property() is deprecated. ' . 'Use setProperty()/getProperty() instead.' ) ; if ( $ name !== null ) { $ this -> setProperty ( $ name ) ; } return $ this -> getProperty ( ) ; }
Sets the property name that should be filled with data from the target table
in the source table record.
If no arguments are passed, the currently configured type is returned.

@deprecated 3.4.0 Use setProperty()/getProperty() instead.
@param string|null $name The name of the association property. Use null to read the current value.
@return string
Sets the property name that should be filled with data from the target table in the source table record . If no arguments are passed the currently configured type is returned .