src/DataContainer.php
public function filter($value)
	{
		if (is_array($value) or (is_object($value) and $value instanceof \ArrayAccess))
		{
			return array_map([$this, 'filter'], $value);
		}

		return htmlentities($value, ENT_QUOTES | ENT_HTML5);
	}
public function filter($value)
	{
		if (is_array($value) or (is_object($value) and $value instanceof \ArrayAccess))
		{
			return array_map([$this, 'filter'], $value);
		}

		return htmlentities($value, ENT_QUOTES | ENT_HTML5);
	}
public function filter ( $ value ) { if ( is_array ( $ value ) or ( is_object ( $ value ) and $ value instanceof \ ArrayAccess ) ) { return array_map ( [ $ this , 'filter' ] , $ value ) ; } return htmlentities ( $ value , ENT_QUOTES | ENT_HTML5 ) ; }
Filters the output

@param mixed $value

@return string
Filters the output