src/Baum/SetBuilder.php
protected function scopedAttributes($node) {
    $keys = $this->node->getScopedColumns();

    if ( count($keys) == 0 )
      return array();

    $values = array_map(function($column) use ($node) {
      return $node->getAttribute($column); }, $keys);

    return array_combine($keys, $values);
  }
protected function scopedAttributes($node) {
    $keys = $this->node->getScopedColumns();

    if ( count($keys) == 0 )
      return array();

    $values = array_map(function($column) use ($node) {
      return $node->getAttribute($column); }, $keys);

    return array_combine($keys, $values);
  }
protected function scopedAttributes ( $ node ) { $ keys = $ this -> node -> getScopedColumns ( ) ; if ( count ( $ keys ) == 0 ) return array ( ) ; $ values = array_map ( function ( $ column ) use ( $ node ) { return $ node -> getAttribute ( $ column ) ; } , $ keys ) ; return array_combine ( $ keys , $ values ) ; }
Return an array of the scoped attributes of the supplied node.

@param   Baum\Node $node
@return  array
Return an array of the scoped attributes of the supplied node .