src/Entity/XiboDisplayGroup.php
public function assignMedia($mediaId)
    {
        $this->getLogger()->info('Assigning media ID ' . json_encode($mediaId) . ' To display Group ID ' . $this->displayGroupId);
        $this->doPost('/displaygroup/' . $this->displayGroupId . '/media/assign', [
            'mediaId' => $mediaId
            ]);

        return $this;
    }
public function assignMedia($mediaId)
    {
        $this->getLogger()->info('Assigning media ID ' . json_encode($mediaId) . ' To display Group ID ' . $this->displayGroupId);
        $this->doPost('/displaygroup/' . $this->displayGroupId . '/media/assign', [
            'mediaId' => $mediaId
            ]);

        return $this;
    }
public function assignMedia ( $ mediaId ) { $ this -> getLogger ( ) -> info ( 'Assigning media ID ' . json_encode ( $ mediaId ) . ' To display Group ID ' . $ this -> displayGroupId ) ; $ this -> doPost ( '/displaygroup/' . $ this -> displayGroupId . '/media/assign' , [ 'mediaId' => $ mediaId ] ) ; return $ this ; }
Assign media to display group.

@param array|int $mediaId Media ID to assign
@return XiboDisplayGroup
Assign media to display group .