/** * Set the base constraints on the relation query. * * @return void * @static */ public static function addConstraints() { //Method inherited from \Illuminate\Database\Eloquent\Relations\HasOneOrMany \Illuminate\Database\Eloquent\Relations\HasMany::addConstraints(); }