src/mako/utility/Collection.php
public function get($key, $default = null)
	{
		if(array_key_exists($key, $this->items))
		{
			return $this->items[$key];
		}

		return $default;
	}
public function get($key, $default = null)
	{
		if(array_key_exists($key, $this->items))
		{
			return $this->items[$key];
		}

		return $default;
	}
public function get ( $ key , $ default = null ) { if ( array_key_exists ( $ key , $ this -> items ) ) { return $ this -> items [ $ key ] ; } return $ default ; }
Returns an item from the collection.

@param  int|string $key     Key
@param  mixed      $default Default value
@return mixed
Returns an item from the collection .