Stevebauman\Inventory\Models\Inventory::metric PHP Méthode

metric() public méthode

The hasOne metric relationship.
public metric ( ) : Illuminate\Database\Eloquent\Relations\HasOne
Résultat Illuminate\Database\Eloquent\Relations\HasOne
    public function metric()
    {
        return $this->hasOne(Metric::class);
    }