mirror of
https://github.com/itflow-org/itflow
synced 2026-03-23 05:55:38 +00:00
Remove the vendor directory in .gitignore as these dependencies are needed for php-imap
This commit is contained in:
34
plugins/php-imap/vendor/illuminate/contracts/Database/Eloquent/CastsAttributes.php
vendored
Normal file
34
plugins/php-imap/vendor/illuminate/contracts/Database/Eloquent/CastsAttributes.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Database\Eloquent;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @template TGet
|
||||
* @template TSet
|
||||
*/
|
||||
interface CastsAttributes
|
||||
{
|
||||
/**
|
||||
* Transform the attribute from the underlying model values.
|
||||
*
|
||||
* @param \Illuminate\Database\Eloquent\Model $model
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @param array<string, mixed> $attributes
|
||||
* @return TGet|null
|
||||
*/
|
||||
public function get(Model $model, string $key, mixed $value, array $attributes);
|
||||
|
||||
/**
|
||||
* Transform the attribute to its underlying model values.
|
||||
*
|
||||
* @param \Illuminate\Database\Eloquent\Model $model
|
||||
* @param string $key
|
||||
* @param TSet|null $value
|
||||
* @param array<string, mixed> $attributes
|
||||
* @return mixed
|
||||
*/
|
||||
public function set(Model $model, string $key, mixed $value, array $attributes);
|
||||
}
|
||||
Reference in New Issue
Block a user