src/Bandolier/Type/Arrays.php
public function doGetAttribute()
    {
        return array_key_exists($this->attribute, $this->data) ? $this->data[$this->attribute] : $this->default;
    }
public function doGetAttribute()
    {
        return array_key_exists($this->attribute, $this->data) ? $this->data[$this->attribute] : $this->default;
    }
public function doGetAttribute ( ) { return array_key_exists ( $ this -> attribute , $ this -> data ) ? $ this -> data [ $ this -> attribute ] : $ this -> default ; }
Check for key in array, return default is not found
@return mixed
Check for key in array return default is not found