Api/AbstractData.php
public function clean()
    {
        foreach ($this->data as $key => $data) {
            if (empty($data)) {
                unset($this->data[$key]);
            }
        }

        return $this;
    }
public function clean()
    {
        foreach ($this->data as $key => $data) {
            if (empty($data)) {
                unset($this->data[$key]);
            }
        }

        return $this;
    }
public function clean ( ) { foreach ( $ this -> data as $ key => $ data ) { if ( empty ( $ data ) ) { unset ( $ this -> data [ $ key ] ) ; } } return $ this ; }
Removes keys with empty value.

@return $this
Removes keys with empty value .