src/Entity/XiboLibrary.php
public function edit($name, $duration, $retired, $tags, $updateInLayouts)
	{
		$this->name = $name;
		$this->duration = $duration;
		$this->retired = $retired;
		$this->tags = $tags;
		$this->updateInLayouts = $updateInLayouts;
		$this->getLogger()->info('Editing Media ID ' . $this->mediaId);
		$response = $this->doPut('/library/' . $this->mediaId, $this->toArray());
		
		return $this->hydrate($response);
	}
public function edit($name, $duration, $retired, $tags, $updateInLayouts)
	{
		$this->name = $name;
		$this->duration = $duration;
		$this->retired = $retired;
		$this->tags = $tags;
		$this->updateInLayouts = $updateInLayouts;
		$this->getLogger()->info('Editing Media ID ' . $this->mediaId);
		$response = $this->doPut('/library/' . $this->mediaId, $this->toArray());
		
		return $this->hydrate($response);
	}
public function edit ( $ name , $ duration , $ retired , $ tags , $ updateInLayouts ) { $ this -> name = $ name ; $ this -> duration = $ duration ; $ this -> retired = $ retired ; $ this -> tags = $ tags ; $ this -> updateInLayouts = $ updateInLayouts ; $ this -> getLogger ( ) -> info ( 'Editing Media ID ' . $ this -> mediaId ) ; $ response = $ this -> doPut ( '/library/' . $ this -> mediaId , $ this -> toArray ( ) ) ; return $ this -> hydrate ( $ response ) ; }
Edit existing media file.

@param string $name optional media name
@param int $duration Media duration
@param int $retired Flag indicating if this media is retired
@param string $tags Comma separated list of Tags
@param int $updateInLayouts Flag indicating whether to update the duration in all Layouts the Media is assigned to
@return XiboLibrary
Edit existing media file .