for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kris\LaravelFormBuilder\Events;
use Kris\LaravelFormBuilder\Form;
class AfterFormCreation
{
/**
* The form instance.
*
* @var Form
*/
protected $form;
* Create a new after form creation instance.
* @param Form $form
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct(Form $form) {
$this->form = $form;
}
* Return the event's form.
* @return Form
public function getForm() {
return $this->form;
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.