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
#!/bin/bash | |
#assumes working copy is a fork & upstream is set to [email protected]:frapi/frapi.git | |
# temporarily move custom symlink | |
mv src/frapi/custom src/frapi/custom_symlink && | |
# reset any changes (i.e. deletion of custom folder) | |
git reset --hard && |
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 | |
require_once 'OtherAction.php' | |
class Action_AliasRouteForOtherAction extends Frapi_Action implements Frapi_Action_Interface | |
{ | |
protected $requiredParams = array(); | |
protected $data = array(); | |
public function toArray() {} |
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 Coordinate | |
{ | |
protected $x; | |
protected $y; | |
public function __construct($x = null, $y = null) | |
{ | |
(empty($x)) ?: $this->setX($x); |