web/wp-content/plugins/ghost-runner/src/Factories.php
/**
	 * Get all test forms from the Google Sheet
	 *
	 * @param string $docId ID of Google sheet
	 *
	 *
	 * @return \stdClass|null
	 */
Get all test forms from the Google Sheet
@param string $docId ID of Google sheet

@return \stdClass|null
Get all test forms from the Google Sheet @param string $docId ID of Google sheet @return \ stdClass|null
public static function testData( $docId  ){
		$data = self::getDataFromGoogle( $docId, 4, md5( __CLASS__ . __METHOD__ . $docId ) );
		if( ! empty( $data ) && isset( $data->rows ) ){
			return $data->rows;
		}
		return null;
	}
public static function testData ( $ docId ) { $ data = self :: getDataFromGoogle ( $ docId , 4 , md5 ( __CLASS__ . __METHOD__ . $ docId ) ) ; if ( ! empty ( $ data ) && isset ( $ data -> rows ) ) { return $ data -> rows ; } return null ; }
Get all test forms from the Google Sheet
 @param string $docId ID of Google sheet
Get all test forms from the Google Sheet @param string $docId ID of Google sheet