nano launch_phpstorm.sh
#!/bin/sh
open -na "Phpstorm.app" --args "$@"
| <?php | |
| namespace App\Console; | |
| use Illuminate\Console\Scheduling\Schedule; | |
| use Illuminate\Foundation\Console\Kernel as ConsoleKernel; | |
| class Kernel extends ConsoleKernel | |
| { | |
| /** |
| /x/==x |
| // See http://javascriptweblog.wordpress.com/2011/08/08/fixing-the-javascript-typeof-operator/ | |
| (function(global) { | |
| // Maintain a map of already-encountered types for super-fast lookups. This | |
| // serves the dual purpose of being an object from which to use the function | |
| // Object.prototype.toString for retrieving an object's [[Class]]. | |
| var types = {}; | |
| // Return a useful value based on a passed object's [[Class]] (when possible). | |
| Object.toType = function(obj) { |
| $audience = new Zend_Form_Element_MultiCheckbox('audience', array( | |
| 'label' => 'Target Audience', | |
| 'required' => true, | |
| 'multiOptions' => array( | |
| 'students' => 'Students', | |
| 'faculty' => 'Faculty', | |
| 'staff' => 'Staff', | |
| 'stustaf' => 'Student Employees', | |
| 'retiree' => 'Emeritus/Retiree'), | |
| 'validators' => array( |