protected function scopedAttributes( $model )
	{
		$keys = $this->model->getScopedColumns();

		if ( count( $keys ) == 0 )
			return [];

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

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

		if ( count( $keys ) == 0 )
			return [];

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

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

@param   NestedModel $model
@return  array
Return an array of the scoped attributes of the supplied node .