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 | |
namespace App\Model\Table; | |
use Cake\ORM\Table; | |
class OpportunitiesTable extends Table { | |
public function initialize(array $config){ | |
$this->table("DAS_Opportunity"); | |
} | |
} |
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
# This requires capistrano 2.x and fails horribly with 3.x | |
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | |
load 'config/deploy' # remove this line to skip loading any of the default tasks |
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 | |
namespace App\Controller; | |
use Cake\Controller\Controller; | |
/** | |
* Application Controller | |
* | |
* Add your application-wide methods in the class below, your controllers | |
* will inherit them. |
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 | |
App::uses('ArticlesController', 'Controller'); | |
/** | |
* ArticlesController Test Case | |
* | |
*/ | |
class ArticlesControllerTest extends ControllerTestCase { | |
/** |
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 | |
namespace App\Controller; | |
use App\Controller\AppController; | |
/** | |
* Bookmarks Controller | |
* | |
* @property App\Model\Table\BookmarksTable $Bookmarks | |
*/ |
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 | |
namespace Test; | |
use PHPUnit_Framework_TestSuite; | |
use RecursiveDirectoryIterator; | |
use RecursiveIteratorIterator; | |
use RegexIterator; | |
class TestSuite extends PHPUnit_Framework_TestSuite | |
{ |
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 | |
namespace App\Model\Entity; | |
use Cake\ORM\Entity; | |
/** | |
* User Entity. | |
*/ | |
class User extends Entity | |
{ |
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 | |
namespace App\Shell; | |
use Cake\Console\Shell; | |
use Cake\Event\EventManager; | |
class EventShell extends Shell | |
{ | |
public function main() | |
{ |
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 | |
namespace App\Controller; | |
use Cake\Form\Form; | |
use App\Controller\AppController; | |
class UsersController extends AppController | |
{ | |
public function contact() | |
{ |
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
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-php.git | |
=====> Detected Framework: PHP | |
-----> No runtime requirements in composer.json, defaulting to PHP 5.6.3. | |
-----> Installing system packages... | |
- PHP 5.6.3 | |
- Apache 2.4.10 | |
- Nginx 1.6.0 | |
-----> Installing PHP extensions... | |
- zend-opcache (automatic; bundled, using 'ext-zend-opcache.ini') | |
-----> Installing dependencies... |