toArray() public static méthode

public static toArray ( $bitset )
Exemple #1
0
 public function getModsAttribute($value)
 {
     if (empty($this->_mods)) {
         $this->_mods = ModsHelper::toArray($value);
     }
     return $this->_mods;
 }
Exemple #2
0
 public function getEnabledModsAttribute($value)
 {
     if ($this->_enabledMods === null) {
         $this->_enabledMods = ModsHelper::toArray($value);
     }
     return $this->_enabledMods;
 }