protected function addReferencesConstraint(&$properties, ForeignConstraint $constraint)
    {
        $properties .= $this->getPropertyBaseSpace(18, true) . sprintf("->references('%s')", $constraint->references);

        return $this;
    }
protected function addReferencesConstraint(&$properties, ForeignConstraint $constraint)
    {
        $properties .= $this->getPropertyBaseSpace(18, true) . sprintf("->references('%s')", $constraint->references);

        return $this;
    }
protected function addReferencesConstraint ( & $ properties , ForeignConstraint $ constraint ) { $ properties .= $ this -> getPropertyBaseSpace ( 18 , true ) . sprintf ( "->references('%s')" , $ constraint -> references ) ; return $ this ; }
Adds 'references' eloquent method to a given properties.

@param string $properties
@param CrestApps\CodeGenerator\Models\ForeignConstraint $constraint

@return $this
Adds references eloquent method to a given properties .