Skip to content

Commit 06db320

Browse files
committed
Deprecated classes for v3
1 parent ce992fc commit 06db320

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

src/Commands/Publish.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
use CodeIgniter\CLI\CLI;
55
use Config\Services;
66

7+
/**
8+
* @deprecated Use the framework's publish command
9+
*/
710
class Publish extends BaseCommand
811
{
912
protected $group = 'Publication';

src/Config/Services.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ public static function assets(AssetsConfig $config = null, bool $getShared = tru
2424
return new Assets($config);
2525
}
2626

27+
/**
28+
* @deprecated
29+
*/
2730
public static function manifests(AssetsConfig $config = null, bool $getShared = true)
2831
{
2932
if ($getShared)

src/Exceptions/ManifestsException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
use CodeIgniter\Exceptions\ExceptionInterface;
44
use CodeIgniter\Exceptions\FrameworkException;
55

6+
/**
7+
* @deprecated
8+
*/
69
class ManifestsException extends FrameworkException implements ExceptionInterface
710
{
811
public static function forInvalidFileFormat(string $path, string $reason)

src/Handlers/DirectoryHandler.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
use Tatter\Assets\Config\Assets as AssetsConfig;
55
use Tatter\Assets\Interfaces\AssetHandlerInterface;
66

7+
/**
8+
* @deprecated Use the framework's FileCollection instead
9+
*/
710
class DirectoryHandler implements AssetHandlerInterface
811
{
912
/**

src/Libraries/Manifests.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
use Tatter\Assets\Exceptions\ManifestsException;
77
use stdClass;
88

9+
/**
10+
* @deprecated Use the framework's Publisher instead
11+
*/
912
class Manifests
1013
{
1114
/**

0 commit comments

Comments
 (0)