Skip to content

Instantly share code, notes, and snippets.

@standaniels
Last active June 21, 2017 08:30
Show Gist options
  • Save standaniels/ab9bc7793b03e2e4317e792aa64d87c1 to your computer and use it in GitHub Desktop.
Save standaniels/ab9bc7793b03e2e4317e792aa64d87c1 to your computer and use it in GitHub Desktop.
Laravel IDE Helper config for Bootform's magic methods
<?php
return array(
'magic' => array(
'BootForm' => array(
'setToken' => 'AdamWathan\Form\FormBuilder::setToken',
'open' => 'AdamWathan\Form\FormBuilder::open',
'close' => 'AdamWathan\Form\FormBuilder::close',
'text' => 'AdamWathan\BootForms\BasicFormBuilder::text',
'date' => 'AdamWathan\BootForms\BasicFormBuilder::date',
'dateTimeLocal' => 'AdamWathan\BootForms\BasicFormBuilder::dateTimeLocal',
'email' => 'AdamWathan\BootForms\BasicFormBuilder::email',
'hidden' => 'AdamWathan\Form\FormBuilder::hidden',
'textarea' => 'AdamWathan\BootForms\BasicFormBuilder::textarea',
'password' => 'AdamWathan\BootForms\BasicFormBuilder::password',
'checkbox' => 'AdamWathan\BootForms\BasicFormBuilder::checkbox',
'radio' => 'AdamWathan\BootForms\BasicFormBuilder::radio',
'button' => 'AdamWathan\BootForms\BasicFormBuilder::button',
'submit' => 'AdamWathan\BootForms\BasicFormBuilder::submit',
'select' => 'AdamWathan\BootForms\BasicFormBuilder::select',
'label' => 'AdamWathan\Form\FormBuilder::label',
'file' => 'AdamWathan\BootForms\BasicFormBuilder::file',
'token' => 'AdamWathan\Form\FormBuilder::token',
'hasError' => 'AdamWathan\Form\FormBuilder::hasError',
'getError' => 'AdamWathan\Form\FormBuilder::getError',
'bind' => 'AdamWathan\Form\FormBuilder::bind',
'getValueFor' => 'AdamWathan\Form\FormBuilder::getValueFor',
'selectMonth' => 'AdamWathan\Form\FormBuilder::selectMonth',
'setColumnSizes' => 'AdamWathan\BootForms\HorizontalFormBuilder::setColumnSizes',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment