toArray() public static method

public static toArray ( $bitset )
示例#1
0
文件: Game.php 项目: ppy/osu-web
 public function getModsAttribute($value)
 {
     if (empty($this->_mods)) {
         $this->_mods = ModsHelper::toArray($value);
     }
     return $this->_mods;
 }
示例#2
0
文件: Scoreable.php 项目: ppy/osu-web
 public function getEnabledModsAttribute($value)
 {
     if ($this->_enabledMods === null) {
         $this->_enabledMods = ModsHelper::toArray($value);
     }
     return $this->_enabledMods;
 }