public function blockerIds(bool $collection = false)
    {
        $ids = $this->blockerUsers()->pluck($this->getTable().'.id');

        if ($collection) {
            return $ids;
        }

        return $ids->toArray();
    }
public function blockerIds(bool $collection = false)
    {
        $ids = $this->blockerUsers()->pluck($this->getTable().'.id');

        if ($collection) {
            return $ids;
        }

        return $ids->toArray();
    }
public function blockerIds ( bool $ collection = false ) { $ ids = $ this -> blockerUsers ( ) -> pluck ( $ this -> getTable ( ) . '.id' ) ; if ( $ collection ) { return $ ids ; } return $ ids -> toArray ( ) ; }
Get blocker user IDs.

@param  bool  $collection
@return array|\Illuminate\Support\Collection
Get blocker user IDs .