You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's usable to have an method to return version based on version_id (not only current and previous) - somethimes we just need every change to our Model (step by step).
For example:
/**
* Returns version based on the version id
* @return Version
*/
public function getVersion($version_id)
{
$class = $this->getVersionClass();
return $this->versions()->where("version_id", "=", $version_id)->first();
}
The text was updated successfully, but these errors were encountered:
I think it's usable to have an method to return version based on version_id (not only current and previous) - somethimes we just need every change to our Model (step by step).
For example:
The text was updated successfully, but these errors were encountered: