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 | |
use UserChamp\Models\Company; | |
use UserChamp\Repositories\CompanyRepository; | |
use Illuminate\Database\Eloquent\Builder; | |
class CompaniesController extends \BaseController | |
{ | |
protected $repo; |
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
{ | |
"a_id": 39, | |
"assetname": "ClearC2\\TheLogue\\AssetBundle\\Tests\\Debuggable\\JLJAssetTest::test_assetWithOverflow - 2014-02-18 13:35:17.460591", | |
"ispublic": false, | |
"owner": { | |
"id": 13, | |
"username": "[email protected]", | |
"username_canonical": "[email protected]", | |
"email": "[email protected]", | |
"email_canonical": "[email protected]", |
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
MyCompany\MyProject\CoreBundle\Entity\TestObject: | |
exclusion_policy: ALL | |
properties: | |
id: | |
expose: true | |
type: integer | |
string: | |
expose: true | |
createdAt: | |
access_type: public_method |
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
security: | |
encoders: | |
FOS\UserBundle\Model\UserInterface: sha512 | |
role_hierarchy: | |
ROLE_ADMIN: ROLE_USER | |
ROLE_SUPER_ADMIN: ROLE_ADMIN | |
providers: | |
fos_userbundle: |
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
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.hostname = "myproject.dev" | |
config.vm.network :private_network, ip: "192.168.56.102" | |
config.ssh.forward_agent = true | |
config.vm.provider :virtualbox do |v| | |
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
</head> | |
<body> | |
<div id="box"></div> | |
<input type="submit" id="Button" value="Button" /> | |
<script src="https://code.jquery.com/jquery-2.1.0.min.js" type="text/javascript"></script> |
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 | |
use UserChamp\Models\Task; | |
class TasksController extends \BaseController | |
{ | |
/** | |
* Display a listing of the resource. | |
* |
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 Person extends Eloquent | |
{ | |
protected $table = 'people'; | |
} | |
class ReadOnlyPerson extends Person | |
{ | |
public function save() |
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 | |
interface RequestSpecification | |
{ | |
/** | |
* @param Request $request | |
* @return bool | |
*/ | |
public function isSatisfiedBy(Request $request); | |
} |
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 | |
namespace MyBundle/Entity; | |
// Persistable to "url_matchers" table, using a discrminator map column | |
class ExactUrlMatcher extends MyBundle\Model\UrlMatcher | |
{ | |
} |