This file contains hidden or 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
| #!/usr/bin/env bash | |
| # ATTENTION | |
| # This script is incomplete, we would still need to add a way to provide the paths where the files we want to keep have been before. | |
| # Alternatively, we could change the script to remove all files that are not under the path we specify, | |
| # the code is already there, we just need to adjust and test. | |
| # Usage: ./git-move.sh git@github.com:My/source-repo.git git@github.com:My/destination-repo.git my/path/to/keep | |
| SOURCE_REPO=${1} |
This file contains hidden or 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 | |
| // src/UI/Admin/Some/Controller/Namespace/Detail/SomeEntityDetailController.php | |
| namespace UI\Admin\Some\Controller\Namespace\Detail; | |
| // use ... | |
| final class SomeEntityDetailController | |
| { | |
| /** |
This file contains hidden or 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 MyPresenter | |
| // ... | |
| public function showUsers() | |
| { | |
| // ... | |
| $data = $this->accountManager->getUserDetails($from = 10, $to = 20); | |
| $this->view->bind('list', $data); | |
| // ... |
NewerOlder