public function getMany($relatedClass)
    {
        $table = ucfirst($relatedClass::getTable());
        $column = "shared{$table}List";
        return static::wrap($this->bean->$column, $relatedClass);
    }
public function getMany($relatedClass)
    {
        $table = ucfirst($relatedClass::getTable());
        $column = "shared{$table}List";
        return static::wrap($this->bean->$column, $relatedClass);
    }
public function getMany ( $ relatedClass ) { $ table = ucfirst ( $ relatedClass :: getTable ( ) ) ; $ column = "shared{$table}List" ; return static :: wrap ( $ this -> bean -> $ column , $ relatedClass ) ; }
Get many-to-many relationship
@param Model $relatedClass
Get many - to - many relationship