public function check($data)
	{
		$results = array();

		$data = $this->prepareData($data);

		foreach ($data as $datum)
		{
			$results[] = array(
				'data'  => $datum,
				'tests' => $this->process($datum)
			);
		}

		if ($this->log)
		{
			$this->log($results);
		}

		return $results;
	}
public function check($data)
	{
		$results = array();

		$data = $this->prepareData($data);

		foreach ($data as $datum)
		{
			$results[] = array(
				'data'  => $datum,
				'tests' => $this->process($datum)
			);
		}

		if ($this->log)
		{
			$this->log($results);
		}

		return $results;
	}
public function check ( $ data ) { $ results = array ( ) ; $ data = $ this -> prepareData ( $ data ) ; foreach ( $ data as $ datum ) { $ results [ ] = array ( 'data' => $ datum , 'tests' => $ this -> process ( $ datum ) ) ; } if ( $ this -> log ) { $ this -> log ( $ results ) ; } return $ results ; }
Process data against a series of tests

@param   string|array  $data
@return  object
Process data against a series of tests