public function find($data)
    {
        foreach ($data as $key => $value) {
            if ($this->$key === $value) {
                return $this;
            }
        }
    }
public function find($data)
    {
        foreach ($data as $key => $value) {
            if ($this->$key === $value) {
                return $this;
            }
        }
    }
public function find ( $ data ) { foreach ( $ data as $ key => $ value ) { if ( $ this -> $ key === $ value ) { return $ this ; } } }
Search for matching options on the item.

@return mixed
Search for matching options on the item .