src/Bandolier/Type/Arrays.php
public function doDefaultAttributes()
    {
        foreach ((array)$this->attribute as $name => $value) {
            if (array_key_exists($name, $this->data)) {
                $this->data[$name] = $value;
            }
        }
        return ($this->data) ? $this->data : false;
    }
public function doDefaultAttributes()
    {
        foreach ((array)$this->attribute as $name => $value) {
            if (array_key_exists($name, $this->data)) {
                $this->data[$name] = $value;
            }
        }
        return ($this->data) ? $this->data : false;
    }
public function doDefaultAttributes ( ) { foreach ( ( array ) $ this -> attribute as $ name => $ value ) { if ( array_key_exists ( $ name , $ this -> data ) ) { $ this -> data [ $ name ] = $ value ; } } return ( $ this -> data ) ? $ this -> data : false ; }
From default attribute list, overwrite if key is found
@return array|boolean
From default attribute list overwrite if key is found