Skip to content

Commit

Permalink
BaseFormElement renamed to FormElement and moved to parent directory
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Feb 28, 2016
1 parent 1c4e21d commit bb19060
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/Form/Element/Columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
use Closure;
use Illuminate\Support\Collection;
use Illuminate\Database\Eloquent\Model;
use SleepingOwl\Admin\Form\FormElement;
use SleepingOwl\Admin\Contracts\FormElementInterface;

class Columns extends BaseFormElement
class Columns extends FormElement
{
/**
* @var Collection
Expand Down
3 changes: 2 additions & 1 deletion src/Form/Element/Custom.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace SleepingOwl\Admin\Form\Element;

use Closure;
use SleepingOwl\Admin\Form\FormElement;

class Custom extends BaseFormElement
class Custom extends FormElement
{
/**
* @var string|Closure
Expand Down
3 changes: 2 additions & 1 deletion src/Form/Element/NamedFormElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
use Request;
use LogicException;
use Illuminate\Database\Eloquent\Model;
use SleepingOwl\Admin\Form\FormElement;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Database\Eloquent\Relations\HasOne;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

abstract class NamedFormElement extends BaseFormElement
abstract class NamedFormElement extends FormElement
{
/**
* @var string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<?php

namespace SleepingOwl\Admin\Form\Element;
namespace SleepingOwl\Admin\Form;

use Meta;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Renderable;
use SleepingOwl\Admin\Contracts\FormElementInterface;

abstract class BaseFormElement implements Renderable, FormElementInterface, Arrayable
abstract class FormElement implements FormElementInterface
{
/**
* @var string
Expand Down

0 comments on commit bb19060

Please sign in to comment.