code
stringlengths 31
1.39M
| docstring
stringlengths 23
16.8k
| func_name
stringlengths 1
126
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
166
| url
stringlengths 50
220
| license
stringclasses 7
values |
---|---|---|---|---|---|---|---|
#[TentativeType]
public function top() : mixed
{
}
|
Peeks at the node from the top of the heap
@link https://php.net/manual/en/splheap.top.php
@return TValue The value of the node on the top.
|
top
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function count() : int
{
}
|
Counts the number of elements in the heap.
@link https://php.net/manual/en/splheap.count.php
@return int the number of elements in the heap.
|
count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function isEmpty() : bool
{
}
|
Checks whether the heap is empty.
@link https://php.net/manual/en/splheap.isempty.php
@return bool whether the heap is empty.
|
isEmpty
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function rewind() : void
{
}
|
Rewind iterator back to the start (no-op)
@link https://php.net/manual/en/splheap.rewind.php
@return void
|
rewind
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function current() : mixed
{
}
|
Return current node pointed by the iterator
@link https://php.net/manual/en/splheap.current.php
@return TValue The current node value.
|
current
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function key() : int
{
}
|
Return current node index
@link https://php.net/manual/en/splheap.key.php
@return int The current node index.
|
key
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function next() : void
{
}
|
Move to the next node
@link https://php.net/manual/en/splheap.next.php
@return void
|
next
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function valid() : bool
{
}
|
Check whether the heap contains more nodes
@link https://php.net/manual/en/splheap.valid.php
@return bool true if the heap contains any more nodes, false otherwise.
|
valid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function recoverFromCorruption() : bool
{
}
|
Recover from the corrupted state and allow further actions on the heap.
@link https://php.net/manual/en/splheap.recoverfromcorruption.php
@return bool
|
recoverFromCorruption
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
protected function compare(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value1, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value2) : int
{
}
|
Compare elements in order to place them correctly in the heap while sifting up.
@link https://php.net/manual/en/splminheap.compare.php
@param TValue $value1 <p>
The value of the first node being compared.
</p>
@param TValue $value2 <p>
The value of the second node being compared.
</p>
@return int Result of the comparison, positive integer if <i>value1</i> is lower than <i>value2</i>, 0 if they are equal, negative integer otherwise.
</p>
<p>
Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
|
compare
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
protected function compare(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value1, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value2) : int
{
}
|
Compare elements in order to place them correctly in the heap while sifting up.
@link https://php.net/manual/en/splmaxheap.compare.php
@param TValue $value1 <p>
The value of the first node being compared.
</p>
@param TValue $value2 <p>
The value of the second node being compared.
</p>
@return int Result of the comparison, positive integer if <i>value1</i> is greater than <i>value2</i>, 0 if they are equal, negative integer otherwise.
</p>
<p>
Having multiple elements with the same value in a Heap is not recommended. They will end up in an arbitrary relative position.
|
compare
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function compare(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $priority1, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $priority2) : int
{
}
|
Compare priorities in order to place elements correctly in the heap while sifting up.
@link https://php.net/manual/en/splpriorityqueue.compare.php
@param TPriority $priority1 <p>
The priority of the first node being compared.
</p>
@param TPriority $priority2 <p>
The priority of the second node being compared.
</p>
@return int Result of the comparison, positive integer if <i>priority1</i> is greater than <i>priority2</i>, 0 if they are equal, negative integer otherwise.
</p>
<p>
Multiple elements with the same priority will get dequeued in no particular order.
|
compare
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function setExtractFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags) : int
{
}
|
Sets the mode of extraction
@link https://php.net/manual/en/splpriorityqueue.setextractflags.php
@param int $flags <p>
Defines what is extracted by <b>SplPriorityQueue::current</b>,
<b>SplPriorityQueue::top</b> and
<b>SplPriorityQueue::extract</b>.
</p>
<b>SplPriorityQueue::EXTR_DATA</b> (0x00000001): Extract the data
@return int
|
setExtractFlags
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function top() : mixed
{
}
|
Peeks at the node from the top of the queue
@link https://php.net/manual/en/splpriorityqueue.top.php
@return TValue The value or priority (or both) of the top node, depending on the extract flag.
|
top
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function extract() : mixed
{
}
|
Extracts a node from top of the heap and sift up.
@link https://php.net/manual/en/splpriorityqueue.extract.php
@return TValue The value or priority (or both) of the extracted node, depending on the extract flag.
|
extract
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function count() : int
{
}
|
Counts the number of elements in the queue.
@link https://php.net/manual/en/splpriorityqueue.count.php
@return int the number of elements in the queue.
|
count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function isEmpty() : bool
{
}
|
Checks whether the queue is empty.
@link https://php.net/manual/en/splpriorityqueue.isempty.php
@return bool whether the queue is empty.
|
isEmpty
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function rewind() : void
{
}
|
Rewind iterator back to the start (no-op)
@link https://php.net/manual/en/splpriorityqueue.rewind.php
@return void
|
rewind
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function current() : mixed
{
}
|
Return current node pointed by the iterator
@link https://php.net/manual/en/splpriorityqueue.current.php
@return TValue The value or priority (or both) of the current node, depending on the extract flag.
|
current
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function key() : int
{
}
|
Return current node index
@link https://php.net/manual/en/splpriorityqueue.key.php
@return int The current node index.
|
key
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function next() : void
{
}
|
Move to the next node
@link https://php.net/manual/en/splpriorityqueue.next.php
@return void
|
next
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function valid() : bool
{
}
|
Check whether the queue contains more nodes
@link https://php.net/manual/en/splpriorityqueue.valid.php
@return bool true if the queue contains any more nodes, false otherwise.
|
valid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function count() : int
{
}
|
Returns the size of the array
@link https://php.net/manual/en/splfixedarray.count.php
@return int the size of the array.
|
count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function toArray() : array
{
}
|
Returns a PHP array from the fixed array
@link https://php.net/manual/en/splfixedarray.toarray.php
@return TValue[] a PHP array, similar to the fixed array.
|
toArray
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public static function fromArray(#[LanguageLevelTypeAware(['8.0' => 'array'], default: '')] $array, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $preserveKeys = \true) : \SplFixedArray
{
}
|
Import a PHP array in a <b>SplFixedArray</b> instance
@link https://php.net/manual/en/splfixedarray.fromarray.php
@param array $array <p>
The array to import.
</p>
@param bool $preserveKeys [optional] <p>
Try to save the numeric indexes used in the original array.
</p>
@return SplFixedArray an instance of <b>SplFixedArray</b>
containing the array content.
|
fromArray
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function getSize() : int
{
}
|
Gets the size of the array
@link https://php.net/manual/en/splfixedarray.getsize.php
@return int the size of the array, as an integer.
|
getSize
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function offsetExists($index) : bool
{
}
|
Returns whether the requested index exists
@link https://php.net/manual/en/splfixedarray.offsetexists.php
@param int $index <p>
The index being checked.
</p>
@return bool true if the requested <i>index</i> exists, otherwise false
|
offsetExists
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function offsetGet($index) : mixed
{
}
|
Returns the value at the specified index
@link https://php.net/manual/en/splfixedarray.offsetget.php
@param int $index <p>
The index with the value.
</p>
@return TValue The value at the specified <i>index</i>.
|
offsetGet
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function offsetSet($index, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value) : void
{
}
|
Sets a new value at a specified index
@link https://php.net/manual/en/splfixedarray.offsetset.php
@param int $index <p>
The index being set.
</p>
@param TValue $value <p>
The new value for the <i>index</i>.
</p>
@return void
|
offsetSet
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function offsetUnset($index) : void
{
}
|
Unsets the value at the specified $index
@link https://php.net/manual/en/splfixedarray.offsetunset.php
@param int $index <p>
The index being unset.
</p>
@return void
|
offsetUnset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function valid() : bool
{
}
|
Check whether the array contains more elements
@link https://php.net/manual/en/splfixedarray.valid.php
@return bool true if the array contains any more elements, false otherwise.
|
valid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function attach(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info = null) : void
{
}
|
Adds an object in the storage
@link https://php.net/manual/en/splobjectstorage.attach.php
@param TObject $object <p>
The object to add.
</p>
@param TValue $info [optional] <p>
The data to associate with the object.
</p>
@return void
|
attach
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function detach(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object) : void
{
}
|
Removes an object from the storage
@link https://php.net/manual/en/splobjectstorage.detach.php
@param TObject $object <p>
The object to remove.
</p>
@return void
|
detach
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function contains(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object) : bool
{
}
|
Checks if the storage contains a specific object
@link https://php.net/manual/en/splobjectstorage.contains.php
@param TObject $object <p>
The object to look for.
</p>
@return bool true if the object is in the storage, false otherwise.
|
contains
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function addAll(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage) : int
{
}
|
Adds all objects from another storage
@link https://php.net/manual/en/splobjectstorage.addall.php
@param SplObjectStorage<TObject, TValue> $storage <p>
The storage you want to import.
</p>
@return int
|
addAll
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function removeAll(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage) : int
{
}
|
Removes objects contained in another storage from the current storage
@link https://php.net/manual/en/splobjectstorage.removeall.php
@param SplObjectStorage<TObject, TValue> $storage <p>
The storage containing the elements to remove.
</p>
@return int
|
removeAll
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function removeAllExcept(#[LanguageLevelTypeAware(['8.0' => 'SplObjectStorage'], default: '')] $storage) : int
{
}
|
Removes all objects except for those contained in another storage from the current storage
@link https://php.net/manual/en/splobjectstorage.removeallexcept.php
@param SplObjectStorage<TObject, TValue> $storage <p>
The storage containing the elements to retain in the current storage.
</p>
@return int
@since 5.3.6
|
removeAllExcept
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function getInfo() : mixed
{
}
|
Returns the data associated with the current iterator entry
@link https://php.net/manual/en/splobjectstorage.getinfo.php
@return TValue The data associated with the current iterator position.
|
getInfo
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function setInfo(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info) : void
{
}
|
Sets the data associated with the current iterator entry
@link https://php.net/manual/en/splobjectstorage.setinfo.php
@param TValue $info <p>
The data to associate with the current iterator entry.
</p>
@return void
|
setInfo
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function count(#[PhpStormStubsElementAvailable(from: '8.0')] int $mode = \COUNT_NORMAL) : int
{
}
|
Returns the number of objects in the storage
@link https://php.net/manual/en/splobjectstorage.count.php
@param int $mode [optional]
@return int The number of objects in the storage.
|
count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function rewind() : void
{
}
|
Rewind the iterator to the first storage element
@link https://php.net/manual/en/splobjectstorage.rewind.php
@return void
|
rewind
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function valid() : bool
{
}
|
Returns if the current iterator entry is valid
@link https://php.net/manual/en/splobjectstorage.valid.php
@return bool true if the iterator entry is valid, false otherwise.
|
valid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function key() : int
{
}
|
Returns the index at which the iterator currently is
@link https://php.net/manual/en/splobjectstorage.key.php
@return int The index corresponding to the position of the iterator.
|
key
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function current() : object
{
}
|
Returns the current storage entry
@link https://php.net/manual/en/splobjectstorage.current.php
@return TObject The object at the current iterator position.
|
current
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function next() : void
{
}
|
Move to the next entry
@link https://php.net/manual/en/splobjectstorage.next.php
@return void
|
next
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function unserialize(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $data) : void
{
}
|
Unserializes a storage from its string representation
@link https://php.net/manual/en/splobjectstorage.unserialize.php
@param string $data <p>
The serialized representation of a storage.
</p>
@return void
@since 5.2.2
|
unserialize
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function serialize() : string
{
}
|
Serializes the storage
@link https://php.net/manual/en/splobjectstorage.serialize.php
@return string A string representing the storage.
@since 5.2.2
|
serialize
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function offsetExists($object) : bool
{
}
|
Checks whether an object exists in the storage
@link https://php.net/manual/en/splobjectstorage.offsetexists.php
@param TObject $object <p>
The object to look for.
</p>
@return bool true if the object exists in the storage,
and false otherwise.
|
offsetExists
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function offsetSet(#[LanguageLevelTypeAware(['8.1' => 'mixed'], default: '')] $object, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $info = null) : void
{
}
|
Associates data to an object in the storage
@link https://php.net/manual/en/splobjectstorage.offsetset.php
@param TObject $object <p>
The object to associate data with.
</p>
@param TValue $info [optional] <p>
The data to associate with the object.
</p>
@return void
|
offsetSet
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function offsetUnset($object) : void
{
}
|
Removes an object from the storage
@link https://php.net/manual/en/splobjectstorage.offsetunset.php
@param TObject $object <p>
The object to remove.
</p>
@return void
|
offsetUnset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function offsetGet($object) : mixed
{
}
|
Returns the data associated with an <type>object</type>
@link https://php.net/manual/en/splobjectstorage.offsetget.php
@param TObject $object <p>
The object to look for.
</p>
@return TValue The data previously associated with the object in the storage.
|
offsetGet
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function getHash(#[LanguageLevelTypeAware(['8.0' => 'object'], default: '')] $object) : string
{
}
|
Calculate a unique identifier for the contained objects
@link https://php.net/manual/en/splobjectstorage.gethash.php
@param TObject $object <p>
object whose identifier is to be calculated.
</p>
@return string A string with the calculated identifier.
@since 5.4
|
getHash
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function getFlags() : int
{
}
|
Gets the flag information
@link https://php.net/manual/en/multipleiterator.getflags.php
@return int Information about the flags, as an integer.
|
getFlags
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function setFlags(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags) : void
{
}
|
Sets flags
@link https://php.net/manual/en/multipleiterator.setflags.php
@param int $flags <p>
The flags to set, according to the
Flag Constants
</p>
@return void
|
setFlags
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function attachIterator(\Iterator $iterator, #[LanguageLevelTypeAware(['8.0' => 'int|string|null'], default: '')] $info = null) : void
{
}
|
Attaches iterator information
@link https://php.net/manual/en/multipleiterator.attachiterator.php
@param Iterator $iterator <p>
The new iterator to attach.
</p>
@param int|string|null $info [optional] <p>
The associative information for the Iterator, which must be an
integer, a string, or null.
</p>
@return void Description...
|
attachIterator
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function detachIterator(\Iterator $iterator) : void
{
}
|
Detaches an iterator
@link https://php.net/manual/en/multipleiterator.detachiterator.php
@param Iterator $iterator <p>
The iterator to detach.
</p>
@return void
|
detachIterator
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function containsIterator(\Iterator $iterator) : bool
{
}
|
Checks if an iterator is attached
@link https://php.net/manual/en/multipleiterator.containsiterator.php
@param Iterator $iterator <p>
The iterator to check.
</p>
@return bool true on success or false on failure.
|
containsIterator
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function countIterators() : int
{
}
|
Gets the number of attached iterator instances
@link https://php.net/manual/en/multipleiterator.countiterators.php
@return int The number of attached iterator instances (as an integer).
|
countIterators
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function rewind() : void
{
}
|
Rewinds all attached iterator instances
@link https://php.net/manual/en/multipleiterator.rewind.php
@return void
|
rewind
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function valid() : bool
{
}
|
Checks the validity of sub iterators
@link https://php.net/manual/en/multipleiterator.valid.php
@return bool true if one or all sub iterators are valid depending on flags,
otherwise false
|
valid
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function key() : array
{
}
|
Gets the registered iterator instances
@link https://php.net/manual/en/multipleiterator.key.php
@return array An array of all registered iterator instances,
or false if no sub iterator is attached.
|
key
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[TentativeType]
public function next() : void
{
}
|
Moves all attached iterator instances forward
@link https://php.net/manual/en/multipleiterator.next.php
@return void
|
next
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_c1.php
|
MIT
|
#[Pure]
function spl_classes() : array
{
}
|
Return available SPL classes
@link https://php.net/manual/en/function.spl-classes.php
@return array
|
spl_classes
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
MIT
|
#[LanguageLevelTypeAware(["8.0" => "array"], default: "array|false")]
function spl_autoload_functions()
{
}
|
Return all registered __autoload() functions
@link https://php.net/manual/en/function.spl-autoload-functions.php
@return array|false An array of all registered __autoload functions.
If the autoload stack is not activated then the return value is false.
If no function is registered the return value will be an empty array.
@since 5.1.2
|
spl_autoload_functions
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
MIT
|
#[Pure]
function class_parents($object_or_class, bool $autoload = \true) : array|false
{
}
|
Return the parent classes of the given class
@link https://php.net/manual/en/function.class-parents.php
@param object|string $object_or_class <p>
An object (class instance) or a string (class name).
</p>
@param bool $autoload [optional] <p>
Whether to allow this function to load the class automatically through
the __autoload magic
method.
</p>
@return string[]|false An array on success, or false on error.
|
class_parents
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
MIT
|
#[Pure]
function class_implements($object_or_class, bool $autoload = \true) : array|false
{
}
|
Return the interfaces which are implemented by the given class
@link https://php.net/manual/en/function.class-implements.php
@param object|string $object_or_class <p>
An object (class instance) or a string (class name).
</p>
@param bool $autoload [optional] <p>
Whether to allow this function to load the class automatically through
the __autoload magic
method.
</p>
@return string[]|false An array on success, or false on error.
|
class_implements
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
MIT
|
#[Pure]
function spl_object_hash(object $object) : string
{
}
|
Return hash id for given object
@link https://php.net/manual/en/function.spl-object-hash.php
@param object $object
@return string A string that is unique for each object and is always the same for
the same object.
|
spl_object_hash
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
MIT
|
#[Pure]
function iterator_count(#[LanguageLevelTypeAware(['8.2' => 'Traversable|array'], default: 'Traversable')] $iterator) : int
{
}
|
Count the elements in an iterator
@link https://php.net/manual/en/function.iterator-count.php
@param Traversable $iterator <p>
The iterator being counted.
</p>
@return int The number of elements in iterator.
|
iterator_count
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SPL/SPL_f.php
|
MIT
|
#[Pure]
public function __construct($message, $code, $previous)
{
}
|
Construct the exception
@link https://php.net/manual/en/exception.construct.php
@param $message [optional]
@param $code [optional]
@param $previous [optional]
@since 5.1.0
|
__construct
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/SQLite/SQLite.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/SQLite/SQLite.php
|
MIT
|
#[TentativeType]
public function open(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $filename, #[PhpStormStubsElementAvailable(from: '5.3', to: '5.6')] $flags, #[PhpStormStubsElementAvailable(from: '5.3', to: '5.6')] $encryptionKey, #[PhpStormStubsElementAvailable(from: '7.0')] #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = \SQLITE3_OPEN_READWRITE | \SQLITE3_OPEN_CREATE, #[PhpStormStubsElementAvailable(from: '7.0')] #[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $encryptionKey = '') : void
{
}
|
Opens an SQLite database
@link https://php.net/manual/en/sqlite3.open.php
@param string $filename <p>
Path to the SQLite database, or :memory: to use in-memory database.
</p>
@param int $flags <p>
Optional flags used to determine how to open the SQLite database. By
default, open uses SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE.
</p>
<p>
SQLITE3_OPEN_READONLY: Open the database for
reading only.
</p>
@param string $encryptionKey <p>
An optional encryption key used when encrypting and decrypting an
SQLite database.
</p>
@return void No value is returned.
|
open
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function exec(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query) : bool
{
}
|
Executes a result-less query against a given database
@link https://php.net/manual/en/sqlite3.exec.php
@param string $query <p>
The SQL query to execute (typically an INSERT, UPDATE, or DELETE
query).
</p>
@return bool <b>TRUE</b> if the query succeeded, <b>FALSE</b> on failure.
|
exec
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[ArrayShape(["versionString" => "string", "versionNumber" => "int"])]
#[TentativeType]
public static function version() : array
{
}
|
Returns the SQLite3 library version as a string constant and as a number
@link https://php.net/manual/en/sqlite3.version.php
@return array an associative array with the keys "versionString" and
"versionNumber".
|
version
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function lastInsertRowID() : int
{
}
|
Returns the row ID of the most recent INSERT into the database
@link https://php.net/manual/en/sqlite3.lastinsertrowid.php
@return int the row ID of the most recent INSERT into the database
|
lastInsertRowID
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function lastErrorCode() : int
{
}
|
Returns the numeric result code of the most recent failed SQLite request
@link https://php.net/manual/en/sqlite3.lasterrorcode.php
@return int an integer value representing the numeric result code of the most
recent failed SQLite request.
|
lastErrorCode
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function lastErrorMsg() : string
{
}
|
Returns English text describing the most recent failed SQLite request
@link https://php.net/manual/en/sqlite3.lasterrormsg.php
@return string an English string describing the most recent failed SQLite request.
|
lastErrorMsg
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function busyTimeout(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $milliseconds) : bool
{
}
|
Sets the busy connection handler
@link https://php.net/manual/en/sqlite3.busytimeout.php
@param int $milliseconds <p>
The milliseconds to sleep. Setting this value to a value less than
or equal to zero, will turn off an already set timeout handler.
</p>
@return bool <b>TRUE</b> on success, <b>FALSE</b> on failure.
@since 5.3.3
|
busyTimeout
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function loadExtension(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name) : bool
{
}
|
Attempts to load an SQLite extension library
@link https://php.net/manual/en/sqlite3.loadextension.php
@param string $name <p>
The name of the library to load. The library must be located in the
directory specified in the configure option sqlite3.extension_dir.
</p>
@return bool <b>TRUE</b> if the extension is successfully loaded, <b>FALSE</b> on failure.
|
loadExtension
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function changes() : int
{
}
|
Returns the number of database rows that were changed (or inserted or
deleted) by the most recent SQL statement
@link https://php.net/manual/en/sqlite3.changes.php
@return int an integer value corresponding to the number of
database rows changed (or inserted or deleted) by the most recent SQL
statement.
|
changes
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public static function escapeString(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $string) : string
{
}
|
Returns a string that has been properly escaped
@link https://php.net/manual/en/sqlite3.escapestring.php
@param string $string <p>
The string to be escaped.
</p>
@return string a properly escaped string that may be used safely in an SQL
statement.
|
escapeString
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function prepare(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query) : \SQLite3Stmt|false
{
}
|
Prepares an SQL statement for execution
@link https://php.net/manual/en/sqlite3.prepare.php
@param string $query <p>
The SQL query to prepare.
</p>
@return SQLite3Stmt|false an <b>SQLite3Stmt</b> object on success or <b>FALSE</b> on failure.
|
prepare
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function query(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query) : \SQLite3Result|false
{
}
|
Executes an SQL query
@link https://php.net/manual/en/sqlite3.query.php
@param string $query <p>
The SQL query to execute.
</p>
@return SQLite3Result|false an <b>SQLite3Result</b> object, or <b>FALSE</b> on failure.
|
query
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function querySingle(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $query, #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $entireRow = \false) : mixed
{
}
|
Executes a query and returns a single result
@link https://php.net/manual/en/sqlite3.querysingle.php
@param string $query <p>
The SQL query to execute.
</p>
@param bool $entireRow [optional] <p>
By default, <b>querySingle</b> returns the value of the
first column returned by the query. If
<i>entire_row</i> is <b>TRUE</b>, then it returns an array
of the entire first row.
</p>
@return mixed the value of the first column of results or an array of the entire
first row (if <i>entire_row</i> is <b>TRUE</b>).
</p>
<p>
If the query is valid but no results are returned, then <b>NULL</b> will be
returned if <i>entire_row</i> is <b>FALSE</b>, otherwise an
empty array is returned.
</p>
<p>
Invalid or failing queries will return <b>FALSE</b>.
|
querySingle
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function createFunction(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $callback, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $argCount = -1, #[PhpStormStubsElementAvailable(from: '7.1')] int $flags = 0) : bool
{
}
|
Registers a PHP function for use as an SQL scalar function
@link https://php.net/manual/en/sqlite3.createfunction.php
@param string $name <p>
Name of the SQL function to be created or redefined.
</p>
@param mixed $callback <p>
The name of a PHP function or user-defined function to apply as a
callback, defining the behavior of the SQL function.
</p>
@param int $argCount <p>
The number of arguments that the SQL function takes. If
this parameter is negative, then the SQL function may take
any number of arguments.
</p>
@param int $flags
<p>A bitwise conjunction of flags.
Currently, only <b>SQLITE3_DETERMINISTIC</b> is supported, which specifies that the function always returns
the same result given the same inputs within a single SQL statement.</p>
@return bool <b>TRUE</b> upon successful creation of the function, <b>FALSE</b> on failure.
|
createFunction
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function createAggregate(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, #[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $stepCallback, #[LanguageLevelTypeAware(['8.0' => 'callable'], default: '')] $finalCallback, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $argCount = -1) : bool
{
}
|
Registers a PHP function for use as an SQL aggregate function
@link https://php.net/manual/en/sqlite3.createaggregate.php
@param string $name <p>
Name of the SQL aggregate to be created or redefined.
</p>
@param mixed $stepCallback <p>
The name of a PHP function or user-defined function to apply as a
callback for every item in the aggregate.
</p>
@param mixed $finalCallback <p>
The name of a PHP function or user-defined function to apply as a
callback at the end of the aggregate data.
</p>
@param int $argCount [optional] <p>
The number of arguments that the SQL aggregate takes. If
this parameter is negative, then the SQL aggregate may take
any number of arguments.
</p>
@return bool <b>TRUE</b> upon successful creation of the aggregate, <b>FALSE</b> on
failure.
|
createAggregate
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function createCollation(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $name, callable $callback) : bool
{
}
|
Registers a PHP function for use as an SQL collating function
@link https://php.net/manual/en/sqlite3.createcollation.php
@param string $name <p>
Name of the SQL collating function to be created or redefined
</p>
@param callable $callback <p>
The name of a PHP function or user-defined function to apply as a
callback, defining the behavior of the collation. It should accept two
strings and return as <b>strcmp</b> does, i.e. it should
return -1, 1, or 0 if the first string sorts before, sorts after, or is
equal to the second.
</p>
@return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
@since 5.3.11
|
createCollation
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function enableExceptions(#[PhpStormStubsElementAvailable(from: '5.3', to: '5.6')] $enable, #[PhpStormStubsElementAvailable(from: '7.0')] #[LanguageLevelTypeAware(['8.0' => 'bool'], default: '')] $enable = \false) : bool
{
}
|
Enable throwing exceptions
@link https://www.php.net/manual/en/sqlite3.enableexceptions
@param bool $enable
@return bool Returns the old value; true if exceptions were enabled, false otherwise.
|
enableExceptions
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function backup(\SQLite3 $destination, string $sourceDatabase = 'main', string $destinationDatabase = 'main') : bool
{
}
|
@param SQLite3 $destination
@param string $sourceDatabase
@param string $destinationDatabase
@return bool
@since 7.4
|
backup
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function setAuthorizer(?callable $callback) : bool
{
}
|
@param null|callable $callback
@return bool
@since 8.0
|
setAuthorizer
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function paramCount() : int
{
}
|
Returns the number of parameters within the prepared statement
@link https://php.net/manual/en/sqlite3stmt.paramcount.php
@return int the number of parameters within the prepared statement.
|
paramCount
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function close() : bool
{
}
|
Closes the prepared statement
@link https://php.net/manual/en/sqlite3stmt.close.php
@return bool <b>TRUE</b>
|
close
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function reset() : bool
{
}
|
Resets the prepared statement
@link https://php.net/manual/en/sqlite3stmt.reset.php
@return bool <b>TRUE</b> if the statement is successfully reset, <b>FALSE</b> on failure.
|
reset
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function clear() : bool
{
}
|
Clears all current bound parameters
@link https://php.net/manual/en/sqlite3stmt.clear.php
@return bool <b>TRUE</b> on successful clearing of bound parameters, <b>FALSE</b> on
failure.
|
clear
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function execute() : \SQLite3Result|false
{
}
|
Executes a prepared statement and returns a result set object
@link https://php.net/manual/en/sqlite3stmt.execute.php
@return SQLite3Result|false an <b>SQLite3Result</b> object on successful execution of the prepared
statement, <b>FALSE</b> on failure.
|
execute
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function bindParam(#[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $param, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] &$var, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = \SQLITE3_TEXT) : bool
{
}
|
Binds a parameter to a statement variable
@link https://php.net/manual/en/sqlite3stmt.bindparam.php
@param string $param <p>
An string identifying the statement variable to which the
parameter should be bound.
</p>
@param mixed &$var <p>
The parameter to bind to a statement variable.
</p>
@param int $type [optional] <p>
The data type of the parameter to bind.
</p>
<p>
SQLITE3_INTEGER: The value is a signed integer,
stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of
the value.
</p>
@return bool <b>TRUE</b> if the parameter is bound to the statement variable, <b>FALSE</b>
on failure.
|
bindParam
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function bindValue(#[LanguageLevelTypeAware(['8.0' => 'string|int'], default: '')] $param, #[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $value, #[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $type = \SQLITE3_TEXT) : bool
{
}
|
Binds the value of a parameter to a statement variable
@link https://php.net/manual/en/sqlite3stmt.bindvalue.php
@param string $param <p>
An string identifying the statement variable to which the
value should be bound.
</p>
@param mixed $value <p>
The value to bind to a statement variable.
</p>
@param int $type [optional] <p>
The data type of the value to bind.
</p>
<p>
SQLITE3_INTEGER: The value is a signed integer,
stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of
the value.
</p>
@return bool <b>TRUE</b> if the value is bound to the statement variable, <b>FALSE</b>
on failure.
|
bindValue
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function getSQL(bool $expand = \false) : string|false
{
}
|
Retrieves the SQL of the prepared statement. If expanded is FALSE, the unmodified SQL is retrieved.
If expanded is TRUE, all query parameters are replaced with their bound values, or with an SQL NULL, if not already bound.
@param bool $expand Whether to retrieve the expanded SQL. Passing TRUE is only supported as of libsqlite 3.14.
@return string|false Returns the SQL of the prepared statement, or FALSE on failure.
@since 7.4
|
getSQL
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function numColumns() : int
{
}
|
Returns the number of columns in the result set
@link https://php.net/manual/en/sqlite3result.numcolumns.php
@return int the number of columns in the result set.
|
numColumns
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function columnName(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column) : string|false
{
}
|
Returns the name of the nth column
@link https://php.net/manual/en/sqlite3result.columnname.php
@param int $column <p>
The numeric zero-based index of the column.
</p>
@return string|false the string name of the column identified by
<i>column_number</i>.
|
columnName
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function columnType(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $column) : int|false
{
}
|
Returns the type of the nth column
@link https://php.net/manual/en/sqlite3result.columntype.php
@param int $column <p>
The numeric zero-based index of the column.
</p>
@return int|false the data type index of the column identified by
<i>column_number</i> (one of
<b>SQLITE3_INTEGER</b>, <b>SQLITE3_FLOAT</b>,
<b>SQLITE3_TEXT</b>, <b>SQLITE3_BLOB</b>, or
<b>SQLITE3_NULL</b>).
|
columnType
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
#[TentativeType]
public function fetchArray(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $mode = \SQLITE3_BOTH) : array|false
{
}
|
Fetches a result row as an associative or numerically indexed array or both
@link https://php.net/manual/en/sqlite3result.fetcharray.php
@param int $mode [optional] <p>
Controls how the next row will be returned to the caller. This value
must be one of either SQLITE3_ASSOC,
SQLITE3_NUM, or SQLITE3_BOTH.
</p>
<p>
SQLITE3_ASSOC: returns an array indexed by column
name as returned in the corresponding result set
</p>
@return array|false a result row as an associatively or numerically indexed array or
both. Alternately will return <b>FALSE</b> if there are no more rows.
|
fetchArray
|
php
|
deptrac/deptrac
|
vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/sqlite3/sqlite3.php
|
MIT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.