Skip to content

Commit

Permalink
add ide helper for auto completion
Browse files Browse the repository at this point in the history
  • Loading branch information
mokhosh committed Aug 16, 2024
1 parent e038e3b commit 3e0c265
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions _ide_helper.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

namespace Filament\Forms\Components {
/**
* @method static \Filament\Forms\Components\DateTimePicker jalali(bool $ignore = false)
*/
class DateTimePicker {}
}

namespace Filament\Tables\Columns {
/**
* @method static \Filament\Tables\Columns\TextColumn jalaliDate(?string $format = null, ?string $timezone = null, bool $ignore = false)
* @method static \Filament\Tables\Columns\TextColumn jalaliDateTime(?string $format = null, ?string $timezone = null, bool $ignore = false)
*/
class TextColumn {}
}

namespace Filament\Infolists\Components {
/**
* @method static \Filament\Infolists\Components\TextEntry jalaliDate(?string $format = null, ?string $timezone = null, bool $ignore = false)
* @method static \Filament\Infolists\Components\TextEntry jalaliDateTime(?string $format = null, ?string $timezone = null, bool $ignore = false)
*/
class TextEntry {}
}

0 comments on commit 3e0c265

Please sign in to comment.