This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var express = require('express') | |
, swaggerTools = require('swagger-tools') | |
; | |
var swaggerDoc = { | |
"swagger": "2.0", | |
"info": { | |
"title": "Redirect", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What are words worth? | |
What are words worth? - words | |
Words in papers, words in books | |
Words on TV, words for crooks | |
Words of comfort, words of peace | |
Words to make the fighting cease | |
Words to tell you what to do | |
Words are working hard for you | |
Eat your words but don't go hungry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class p { | |
public function foo() { | |
self::_bar(); | |
} | |
protected function _bar() { | |
echo "parent class\n"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!php | |
class parent { | |
public function foo() { | |
$this->_bar(); | |
} | |
protected function _bar() { | |
echo "parent class"; | |
} | |
} |