src/Neuron/Net/Entity.php
public function hasData ()
	{
		if (!isset ($this->data))
		{
			if (!isset ($this->error))
				$this->setError ('No input data set');

			return false;
		}
		else {
			return true;
		}
	}
public function hasData ()
	{
		if (!isset ($this->data))
		{
			if (!isset ($this->error))
				$this->setError ('No input data set');

			return false;
		}
		else {
			return true;
		}
	}
public function hasData ( ) { if ( ! isset ( $ this -> data ) ) { if ( ! isset ( $ this -> error ) ) $ this -> setError ( 'No input data set' ) ; return false ; } else { return true ; } }
Check if request has data
Check if request has data