Package Data | |
---|---|
Maintainer Username: | mvrkljan |
Maintainer Contact: | mvrkljan@gmail.com (Martin Vrkljan) |
Package Create Date: | 2015-12-17 |
Package Last Update: | 2015-12-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-18 03:04:15 |
Package Statistics | |
---|---|
Total Downloads: | 71 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
#Luminark Serializable Values Package
Enables you to save serialized attribute values on your models. Simply use the HasSerializableValuesTrait
trait on your models, define a values
column on the model table and implement getSerializableAttributes()
method to define which attributes' values can be serialized.
Example:
class Example extends Model
{
use HasSerializableValuesTrait;
protected function getSerializableAttributes()
{
return ['foo', 'bar'];
}
}