protected function input( $source, $key = '', $default = null ) {
		$source = isset( $this->{$source} ) && is_array( $this->{$source} ) ? $this->{$source} : [];

		if ( empty( $key ) ) {
			return $source;
		}

		return Arr::get( $source, $key, $default );
	}
protected function input( $source, $key = '', $default = null ) {
		$source = isset( $this->{$source} ) && is_array( $this->{$source} ) ? $this->{$source} : [];

		if ( empty( $key ) ) {
			return $source;
		}

		return Arr::get( $source, $key, $default );
	}
protected function input ( $ source , $ key = '' , $ default = null ) { $ source = isset ( $ this -> { $ source } ) && is_array ( $ this -> { $ source } ) ? $ this -> { $ source } : [ ] ; if ( empty ( $ key ) ) { return $ source ; } return Arr :: get ( $ source , $ key , $ default ) ; }
Get all values or a single one from an input type.

@param  string $source
@param  string $key
@param  mixed  $default
@return mixed
Get all values or a single one from an input type .