Skip to content

Commit

Permalink
ide
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Jun 20, 2023
1 parent ae80e90 commit e535b46
Show file tree
Hide file tree
Showing 17 changed files with 56 additions and 94 deletions.
64 changes: 21 additions & 43 deletions _ide_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3940,37 +3940,42 @@ public static function macroCall($method, $parameters)
return $instance->macroCall($method, $parameters);
}
/**
* Remove all items from the cache.
* Get a lock instance.
*
* @return bool
* @param string $name
* @param int $seconds
* @param string|null $owner
* @return \Illuminate\Contracts\Cache\Lock
* @static
*/
public static function flush()
public static function lock($name, $seconds = 0, $owner = null)
{
/** @var \Illuminate\Cache\FileStore $instance */
return $instance->flush();
/** @var \Illuminate\Cache\NullStore $instance */
return $instance->lock($name, $seconds, $owner);
}
/**
* Get the Filesystem instance.
* Restore a lock instance using the owner identifier.
*
* @return \Illuminate\Filesystem\Filesystem
* @param string $name
* @param string $owner
* @return \Illuminate\Contracts\Cache\Lock
* @static
*/
public static function getFilesystem()
public static function restoreLock($name, $owner)
{
/** @var \Illuminate\Cache\FileStore $instance */
return $instance->getFilesystem();
/** @var \Illuminate\Cache\NullStore $instance */
return $instance->restoreLock($name, $owner);
}
/**
* Get the working directory of the cache.
* Remove all items from the cache.
*
* @return string
* @return bool
* @static
*/
public static function getDirectory()
public static function flush()
{
/** @var \Illuminate\Cache\FileStore $instance */
return $instance->getDirectory();
/** @var \Illuminate\Cache\NullStore $instance */
return $instance->flush();
}
/**
* Get the cache key prefix.
Expand All @@ -3980,35 +3985,8 @@ public static function getDirectory()
*/
public static function getPrefix()
{
/** @var \Illuminate\Cache\FileStore $instance */
/** @var \Illuminate\Cache\NullStore $instance */
return $instance->getPrefix();
}
/**
* Get a lock instance.
*
* @param string $name
* @param int $seconds
* @param string|null $owner
* @return \Illuminate\Contracts\Cache\Lock
* @static
*/
public static function lock($name, $seconds = 0, $owner = null)
{
/** @var \Illuminate\Cache\FileStore $instance */
return $instance->lock($name, $seconds, $owner);
}
/**
* Restore a lock instance using the owner identifier.
*
* @param string $name
* @param string $owner
* @return \Illuminate\Contracts\Cache\Lock
* @static
*/
public static function restoreLock($name, $owner)
{
/** @var \Illuminate\Cache\FileStore $instance */
return $instance->restoreLock($name, $owner);
}

}
Expand Down
12 changes: 6 additions & 6 deletions app/Models/Aggregators/CustomerAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,14 @@
* IXP\Models\Aggregators\CustomerAggregator
*
* @property int $id
* @property int|null $irrdb
* @property int|null $company_registered_detail_id
* @property int|null $company_billing_details_id
* @property int|null $reseller
* @property string|null $name
* @property int|null $type
* @property string|null $shortname
* @property string|null $abbreviatedName
* @property int|null $autsys
* @property int|null $maxprefixes
* @property string|null $peeringemail
Expand All @@ -54,8 +59,8 @@
* @property string|null $nocemail
* @property string|null $nochours
* @property string|null $nocwww
* @property int|null $irrdb
* @property string|null $peeringmacro
* @property string|null $peeringmacrov6
* @property string|null $peeringpolicy
* @property string|null $corpwww
* @property \Illuminate\Support\Carbon|null $datejoin
Expand All @@ -64,12 +69,7 @@
* @property int|null $activepeeringmatrix
* @property int|null $lastupdatedby
* @property string|null $creator
* @property int|null $company_registered_detail_id
* @property int|null $company_billing_details_id
* @property string|null $peeringmacrov6
* @property string|null $abbreviatedName
* @property string|null $MD5Support
* @property int|null $reseller
* @property int $isReseller
* @property int $in_manrs
* @property int $in_peeringdb
Expand Down
8 changes: 1 addition & 7 deletions app/Models/Aggregators/RouterAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
* IXP\Models\Aggregators\RouterAggregator
*
* @property int $id
* @property int|null $pair_id
* @property int $vlan_id
* @property string $handle
* @property int $protocol
Expand All @@ -51,16 +50,14 @@
* @property bool $bgp_lc
* @property string $template
* @property bool $skip_md5
* @property string|null $last_update_started
* @property \Illuminate\Support\Carbon|null $last_updated
* @property int $pause_updates
* @property bool $rpki
* @property string|null $software_version
* @property string|null $operating_system
* @property string|null $operating_system_version
* @property int $rfc1997_passthru
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property \Illuminate\Support\Carbon|null $last_updated
* @property-read \IXP\Models\Vlan $vlan
* @method static Builder|Router hasApi()
* @method static Builder|Router ipv4()
Expand All @@ -79,15 +76,12 @@
* @method static Builder|RouterAggregator whereCreatedAt($value)
* @method static Builder|RouterAggregator whereHandle($value)
* @method static Builder|RouterAggregator whereId($value)
* @method static Builder|RouterAggregator whereLastUpdateStarted($value)
* @method static Builder|RouterAggregator whereLastUpdated($value)
* @method static Builder|RouterAggregator whereLgAccess($value)
* @method static Builder|RouterAggregator whereMgmtHost($value)
* @method static Builder|RouterAggregator whereName($value)
* @method static Builder|RouterAggregator whereOperatingSystem($value)
* @method static Builder|RouterAggregator whereOperatingSystemVersion($value)
* @method static Builder|RouterAggregator wherePairId($value)
* @method static Builder|RouterAggregator wherePauseUpdates($value)
* @method static Builder|RouterAggregator wherePeeringIp($value)
* @method static Builder|RouterAggregator whereProtocol($value)
* @method static Builder|RouterAggregator whereQuarantine($value)
Expand Down
8 changes: 4 additions & 4 deletions app/Models/Aggregators/SwitcherAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@
* IXP\Models\Aggregators\SwitcherAggregator
*
* @property int $id
* @property int|null $infrastructure
* @property int|null $cabinetid
* @property int|null $vendorid
* @property string|null $name
* @property string|null $hostname
* @property string|null $ipv4addr
* @property string|null $ipv6addr
* @property string|null $snmppasswd
* @property int|null $infrastructure
* @property string|null $model
* @property bool|null $active
* @property string|null $notes
* @property string|null $hostname
* @property string|null $os
* @property string|null $osDate
* @property string|null $osVersion
* @property string|null $serialNumber
* @property string|null $lastPolled
* @property string|null $notes
* @property string|null $serialNumber
* @property int|null $mauSupported
* @property int|null $asn
* @property string|null $loopback_ip
Expand Down
2 changes: 1 addition & 1 deletion app/Models/Aggregators/UserAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
* @property string|null $name
* @property int|null $peeringdb_id
* @property array|null $extra_attributes
* @property array|null $prefs
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property array|null $prefs
* @property-read \Illuminate\Database\Eloquent\Collection<int, \IXP\Models\ApiKey> $apiKeys
* @property-read int|null $api_keys_count
* @property-read Customer|null $customer
Expand Down
4 changes: 2 additions & 2 deletions app/Models/Aggregators/VlanAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
* IXP\Models\Aggregators\VlanAggregator
*
* @property int $id
* @property int $infrastructureid
* @property string|null $name
* @property int|null $number
* @property string|null $notes
* @property bool $private
* @property int $infrastructureid
* @property string|null $notes
* @property int $peering_matrix
* @property int $peering_manager
* @property string|null $config_name
Expand Down
4 changes: 2 additions & 2 deletions app/Models/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@
* @property int $id
* @property int|null $custid
* @property string $name
* @property string|null $position
* @property string|null $email
* @property string|null $phone
* @property string|null $mobile
* @property bool $facilityaccess
* @property bool $mayauthorize
* @property string|null $notes
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int|null $lastupdatedby
* @property string|null $creator
* @property \Illuminate\Support\Carbon|null $created_at
* @property string|null $position
* @property string|null $notes
* @property-read \Illuminate\Database\Eloquent\Collection<int, \IXP\Models\ContactGroup> $contactGroups
* @property-read int|null $contact_groups_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \IXP\Models\ContactGroup> $contactGroupsAll
Expand Down
12 changes: 6 additions & 6 deletions app/Models/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,14 @@
* IXP\Models\Customer
*
* @property int $id
* @property int|null $irrdb
* @property int|null $company_registered_detail_id
* @property int|null $company_billing_details_id
* @property int|null $reseller
* @property string|null $name
* @property int|null $type
* @property string|null $shortname
* @property string|null $abbreviatedName
* @property int|null $autsys
* @property int|null $maxprefixes
* @property string|null $peeringemail
Expand All @@ -60,8 +65,8 @@
* @property string|null $nocemail
* @property string|null $nochours
* @property string|null $nocwww
* @property int|null $irrdb
* @property string|null $peeringmacro
* @property string|null $peeringmacrov6
* @property string|null $peeringpolicy
* @property string|null $corpwww
* @property Carbon|null $datejoin
Expand All @@ -70,12 +75,7 @@
* @property int|null $activepeeringmatrix
* @property int|null $lastupdatedby
* @property string|null $creator
* @property int|null $company_registered_detail_id
* @property int|null $company_billing_details_id
* @property string|null $peeringmacrov6
* @property string|null $abbreviatedName
* @property string|null $MD5Support
* @property int|null $reseller
* @property int $isReseller
* @property int $in_manrs
* @property int $in_peeringdb
Expand Down
2 changes: 1 addition & 1 deletion app/Models/CustomerToUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
* @property int $customer_id
* @property int $user_id
* @property int $privs
* @property array|null $extra_attributes
* @property string|null $last_login_date
* @property string|null $last_login_from
* @property array|null $extra_attributes
* @property string|null $last_login_via
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
Expand Down
2 changes: 0 additions & 2 deletions app/Models/Logo.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
*
* @property int $id
* @property int|null $customer_id
* @property string $type
* @property string $original_name
* @property string $stored_name
* @property string $uploaded_by
Expand All @@ -53,7 +52,6 @@
* @method static \Illuminate\Database\Eloquent\Builder|Logo whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Logo whereOriginalName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Logo whereStoredName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Logo whereType($value)
* @method static \Illuminate\Database\Eloquent\Builder|Logo whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Logo whereUploadedBy($value)
* @method static \Illuminate\Database\Eloquent\Builder|Logo whereWidth($value)
Expand Down
4 changes: 1 addition & 3 deletions app/Models/PatchPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@
* @property int $connector_type
* @property string|null $installation_date
* @property string $port_prefix
* @property int $active
* @property int $colo_pp_type
* @property int $chargeable
* @property string $location_notes
* @property int $active
* @property int|null $u_position
* @property int|null $mounted_at
* @property \Illuminate\Support\Carbon|null $created_at
Expand All @@ -66,7 +65,6 @@
* @method static Builder|PatchPanel whereCabinetId($value)
* @method static Builder|PatchPanel whereCableType($value)
* @method static Builder|PatchPanel whereChargeable($value)
* @method static Builder|PatchPanel whereColoPpType($value)
* @method static Builder|PatchPanel whereColoReference($value)
* @method static Builder|PatchPanel whereConnectorType($value)
* @method static Builder|PatchPanel whereCreatedAt($value)
Expand Down
2 changes: 1 addition & 1 deletion app/Models/PhysicalInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
*
* @property int $id
* @property int|null $switchportid
* @property int|null $fanout_physical_interface_id
* @property int|null $virtualinterfaceid
* @property int|null $status
* @property int|null $speed
* @property string|null $duplex
* @property int|null $rate_limit
* @property string|null $notes
* @property int|null $fanout_physical_interface_id
* @property bool $autoneg
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
Expand Down
8 changes: 1 addition & 7 deletions app/Models/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
* IXP\Models\Router
*
* @property int $id
* @property int|null $pair_id
* @property int $vlan_id
* @property string $handle
* @property int $protocol
Expand All @@ -53,16 +52,14 @@
* @property bool $bgp_lc
* @property string $template
* @property bool $skip_md5
* @property string|null $last_update_started
* @property \Illuminate\Support\Carbon|null $last_updated
* @property int $pause_updates
* @property bool $rpki
* @property string|null $software_version
* @property string|null $operating_system
* @property string|null $operating_system_version
* @property int $rfc1997_passthru
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property \Illuminate\Support\Carbon|null $last_updated
* @property-read \IXP\Models\Vlan $vlan
* @method static Builder|Router hasApi()
* @method static Builder|Router ipv4()
Expand All @@ -81,15 +78,12 @@
* @method static Builder|Router whereCreatedAt($value)
* @method static Builder|Router whereHandle($value)
* @method static Builder|Router whereId($value)
* @method static Builder|Router whereLastUpdateStarted($value)
* @method static Builder|Router whereLastUpdated($value)
* @method static Builder|Router whereLgAccess($value)
* @method static Builder|Router whereMgmtHost($value)
* @method static Builder|Router whereName($value)
* @method static Builder|Router whereOperatingSystem($value)
* @method static Builder|Router whereOperatingSystemVersion($value)
* @method static Builder|Router wherePairId($value)
* @method static Builder|Router wherePauseUpdates($value)
* @method static Builder|Router wherePeeringIp($value)
* @method static Builder|Router whereProtocol($value)
* @method static Builder|Router whereQuarantine($value)
Expand Down
Loading

0 comments on commit e535b46

Please sign in to comment.