Skip to content

Commit a8c42aa

Browse files
committed
add commets
1 parent 5a40da6 commit a8c42aa

5 files changed

Lines changed: 57 additions & 1 deletion

File tree

src/Drivers/DatabaseDriverInterface.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
<?php
2+
3+
/**
4+
* Dframe/FileStorage
5+
* Copyright (c) Sławomir Kaleta
6+
*
7+
* @license https://github.com/dframe/fileStorage/blob/master/LICENSE (MIT)
8+
*/
9+
210
namespace Dframe\FileStorage\Drivers;
311

412
/**
513
* A contract to identify an implementation to store permissions to
614
*
715
* Drivers can both be persistent or static depending on their implementation.
816
* A default, static ArrayDriver implementation comes with this package.
17+
*
18+
* @author Sławomir Kaleta <slaszka@gmail.com>
919
*/
1020

1121
interface DatabaseDriverInterface

src/Image.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
<?php
2+
3+
/**
4+
* Dframe/FileStorage
5+
* Copyright (c) Sławomir Kaleta
6+
*
7+
* @license https://github.com/dframe/fileStorage/blob/master/LICENSE (MIT)
8+
*/
9+
210
namespace Dframe\FileStorage;
311

412
use League\Flysystem\MountManager;
513
use Dframe\Config;
614
use Dframe\View;
715
use Dframe\Router;
816

17+
/**
18+
* Image Class
19+
*
20+
* @author Sławomir Kaleta <slaszka@gmail.com>
21+
*/
922
class Image
1023
{
1124

src/Storage.php

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
<?php
2+
3+
/**
4+
* Dframe/FileStorage
5+
* Copyright (c) Sławomir Kaleta
6+
*
7+
* @license https://github.com/dframe/fileStorage/blob/master/LICENSE (MIT)
8+
*/
9+
210
namespace Dframe\FileStorage;
311

412
use League\Flysystem\MountManager;
@@ -8,7 +16,12 @@
816
use Dframe\FileStorage\Image;
917
use Dframe\Router\Response;
1018

11-
// UserFile
19+
/**
20+
* Storage Class
21+
*
22+
* @author Sławomir Kaleta <slaszka@gmail.com>
23+
*/
24+
1225
class Storage
1326
{
1427

src/Stylist.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
<?php
2+
3+
/**
4+
* Dframe/FileStorage
5+
* Copyright (c) Sławomir Kaleta
6+
*
7+
* @license https://github.com/dframe/fileStorage/blob/master/LICENSE (MIT)
8+
*/
9+
210
namespace Dframe\FileStorage;
311

412
/**
@@ -11,6 +19,8 @@
1119
* w formie ciagu bajtow i zwraca go po przetworzeniu, tez w formie ciagu bajtow
1220
*
1321
* Podklasy stylistow powinny znajdowac sie w folderze stylists
22+
*
23+
* @author Sławomir Kaleta <slaszka@gmail.com>
1424
*/
1525

1626
abstract class Stylist

src/Stylist/SimpleStylist.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
<?php
2+
3+
/**
4+
* Dframe/FileStorage
5+
* Copyright (c) Sławomir Kaleta
6+
*
7+
* @license https://github.com/dframe/fileStorage/blob/master/LICENSE (MIT)
8+
*/
9+
210
namespace Dframe\FileStorage\Stylist;
311

412
use Imagecraft\ImageBuilder;
513

614
/**
715
* Prosty stylista
816
* Zwraca obrazek taki jakim jest
17+
*
18+
* @author Sławomir Kaleta <slaszka@gmail.com>
919
*/
1020

1121
class SimpleStylist extends \Dframe\FileStorage\Stylist

0 commit comments

Comments
 (0)