src/mako/database/midgard/ResultSet.php
public function protect($column): void
	{
		foreach($this->items as $item)
		{
			$item->protect($column);
		}
	}
public function protect($column): void
	{
		foreach($this->items as $item)
		{
			$item->protect($column);
		}
	}
public function protect ( $ column ) : void { foreach ( $ this -> items as $ item ) { $ item -> protect ( $ column ) ; } }
Excludes the chosen columns and relations from array and json representations of the collection.

@param string|array|bool $column Column or relation to hide from the
Excludes the chosen columns and relations from array and json representations of the collection .