src/Models/Attribute.php
public function getEntitiesAttribute()
    {
        return DB::table(config('rinvex.attributable.tables.attribute_entity'))->where('attribute_id', $this->getKey())->get()->pluck('entity_type')->toArray();
    }
public function getEntitiesAttribute()
    {
        return DB::table(config('rinvex.attributable.tables.attribute_entity'))->where('attribute_id', $this->getKey())->get()->pluck('entity_type')->toArray();
    }
public function getEntitiesAttribute ( ) { return DB :: table ( config ( 'rinvex.attributable.tables.attribute_entity' ) ) -> where ( 'attribute_id' , $ this -> getKey ( ) ) -> get ( ) -> pluck ( 'entity_type' ) -> toArray ( ) ; }
Get the entities attached to this attribute.

@return \Illuminate\Support\Collection|null
Get the entities attached to this attribute .