These rules are adopted from the AngularJS commit conventions.
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 | |
/** | |
* Parse a video string | |
* | |
* @param string $haystack The string to be parsed | |
* @param string $protocol The protocol to be used for the urls | |
* @return array $video | |
* | |
* @version 2014-08-22 | |
* |