Formatting
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com>
This commit is contained in:
1 parent
c772164bff
commit
24d14f259d
6 files changed
+1125
-1118
No files matched your search
+1112
-1113
File diff suppressed because it is too large.
Load diff
@@ -9,6 +9,7 @@ use Illuminate\Support\Facades\Facade;
|
|||||||
*/
|
*/
|
||||||
class FormFacade extends Facade
|
class FormFacade extends Facade
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the registered name of the component.
|
* Get the registered name of the component.
|
||||||
*
|
*
|
||||||
|
|||||||
+6
-1
@@ -495,6 +495,7 @@ class HtmlBuilder
|
|||||||
* @param $name
|
* @param $name
|
||||||
* @param $view
|
* @param $view
|
||||||
* @param array $signature
|
* @param array $signature
|
||||||
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function component($name, $view, array $signature)
|
public static function component($name, $view, array $signature)
|
||||||
@@ -506,6 +507,7 @@ class HtmlBuilder
|
|||||||
* Check if a component is registered.
|
* Check if a component is registered.
|
||||||
*
|
*
|
||||||
* @param $name
|
* @param $name
|
||||||
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function hasComponent($name)
|
public static function hasComponent($name)
|
||||||
@@ -518,6 +520,7 @@ class HtmlBuilder
|
|||||||
*
|
*
|
||||||
* @param $name
|
* @param $name
|
||||||
* @param array $arguments
|
* @param array $arguments
|
||||||
|
*
|
||||||
* @return \Illuminate\Contracts\View\View
|
* @return \Illuminate\Contracts\View\View
|
||||||
*/
|
*/
|
||||||
protected function renderComponent($name, array $arguments)
|
protected function renderComponent($name, array $arguments)
|
||||||
@@ -533,6 +536,7 @@ class HtmlBuilder
|
|||||||
*
|
*
|
||||||
* @param array $signature
|
* @param array $signature
|
||||||
* @param array $arguments
|
* @param array $arguments
|
||||||
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function getComponentData(array $signature, array $arguments)
|
protected function getComponentData(array $signature, array $arguments)
|
||||||
@@ -540,7 +544,7 @@ class HtmlBuilder
|
|||||||
$data = [];
|
$data = [];
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
foreach($signature as $variable => $default) {
|
foreach ($signature as $variable => $default) {
|
||||||
// If the "variable" value is actually a numeric key, we can assume that
|
// If the "variable" value is actually a numeric key, we can assume that
|
||||||
// no default had been specified for the component argument and we'll
|
// no default had been specified for the component argument and we'll
|
||||||
// just use null instead, so that we can treat them all the same.
|
// just use null instead, so that we can treat them all the same.
|
||||||
@@ -562,6 +566,7 @@ class HtmlBuilder
|
|||||||
*
|
*
|
||||||
* @param string $method
|
* @param string $method
|
||||||
* @param array $parameters
|
* @param array $parameters
|
||||||
|
*
|
||||||
* @return \Illuminate\Contracts\View\View|mixed
|
* @return \Illuminate\Contracts\View\View|mixed
|
||||||
*
|
*
|
||||||
* @throws \BadMethodCallException
|
* @throws \BadMethodCallException
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ use Illuminate\Support\Facades\Facade;
|
|||||||
*/
|
*/
|
||||||
class HtmlFacade extends Facade
|
class HtmlFacade extends Facade
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the registered name of the component.
|
* Get the registered name of the component.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ use Illuminate\Support\ServiceProvider;
|
|||||||
|
|
||||||
class HtmlServiceProvider extends ServiceProvider
|
class HtmlServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates if loading of the provider is deferred.
|
* Indicates if loading of the provider is deferred.
|
||||||
*
|
*
|
||||||
|
|||||||
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!function_exists('link_to')) {
|
if ( ! function_exists('link_to')) {
|
||||||
/**
|
/**
|
||||||
* Generate a HTML link.
|
* Generate a HTML link.
|
||||||
*
|
*
|
||||||
@@ -17,7 +17,7 @@ if (!function_exists('link_to')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists('link_to_asset')) {
|
if ( ! function_exists('link_to_asset')) {
|
||||||
/**
|
/**
|
||||||
* Generate a HTML link to an asset.
|
* Generate a HTML link to an asset.
|
||||||
*
|
*
|
||||||
@@ -34,7 +34,7 @@ if (!function_exists('link_to_asset')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists('link_to_route')) {
|
if ( ! function_exists('link_to_route')) {
|
||||||
/**
|
/**
|
||||||
* Generate a HTML link to a named route.
|
* Generate a HTML link to a named route.
|
||||||
*
|
*
|
||||||
@@ -51,7 +51,7 @@ if (!function_exists('link_to_route')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!function_exists('link_to_action')) {
|
if ( ! function_exists('link_to_action')) {
|
||||||
/**
|
/**
|
||||||
* Generate a HTML link to a controller action.
|
* Generate a HTML link to a controller action.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user