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
public class SchoolFilterSpecification : BaseSpecification<School> | |
{ | |
public SchoolFilterSpecification(string state, string district) | |
: base(s => (s.State.Length != 0 && s.State == state) && | |
(s.District.Length != 0 && s.District == district)) | |
{ | |
} | |
} |
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 MyApp\Strategies; | |
use League\Route\Strategy\AbstractStrategy; | |
use League\Route\Strategy\StrategyInterface; | |
class CustomStrategy extends AbstractStrategy implements StrategyInterface { | |
/** | |
* Dispatch the controller, the return value of this method will bubble out and be |
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
module.exports = { | |
data: function () { | |
return { | |
modal: '#register_modal' | |
} | |
}, | |
ready: function(){ | |
this.modal.modal() |