public function checkSummaries() {
		$need_summaries = array();

		foreach ( $this->service['operations'] as $method => $info ) {
			if ( ! isset( $info['summary'] ) ) {
				$need_summaries[] = $method;
			}
		}

		if ( ! empty( $need_summaries ) ) {

			echo PHP_EOL;
			echo 'Please set summaries for all operations to generate docs.' . PHP_EOL;
			echo 'The following operations are missing a \'summary\' value in service.php:' . PHP_EOL;

			foreach ( $need_summaries as $method ) {
				echo '	' . $method . PHP_EOL;
			}

			echo PHP_EOL;

			exit;

		}
	}
public function checkSummaries() {
		$need_summaries = array();

		foreach ( $this->service['operations'] as $method => $info ) {
			if ( ! isset( $info['summary'] ) ) {
				$need_summaries[] = $method;
			}
		}

		if ( ! empty( $need_summaries ) ) {

			echo PHP_EOL;
			echo 'Please set summaries for all operations to generate docs.' . PHP_EOL;
			echo 'The following operations are missing a \'summary\' value in service.php:' . PHP_EOL;

			foreach ( $need_summaries as $method ) {
				echo '	' . $method . PHP_EOL;
			}

			echo PHP_EOL;

			exit;

		}
	}
public function checkSummaries ( ) { $ need_summaries = array ( ) ; foreach ( $ this -> service [ 'operations' ] as $ method => $ info ) { if ( ! isset ( $ info [ 'summary' ] ) ) { $ need_summaries [ ] = $ method ; } } if ( ! empty ( $ need_summaries ) ) { echo PHP_EOL ; echo 'Please set summaries for all operations to generate docs.' . PHP_EOL ; echo 'The following operations are missing a \'summary\' value in service.php:' . PHP_EOL ; foreach ( $ need_summaries as $ method ) { echo '	' . $ method . PHP_EOL ; } echo PHP_EOL ; exit ; } }
Verify that all service operations have summaries set before continuing
Verify that all service operations have summaries set before continuing