-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9433753
commit a123891
Showing
12 changed files
with
391 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace AnourValar\Office\Drivers; | ||
|
||
interface LoadInterface | ||
{ | ||
/** | ||
* Load a template with specific format | ||
* | ||
* @param string $file | ||
* @param \AnourValar\Office\Format $format | ||
* @return self | ||
*/ | ||
public function load(string $file, \AnourValar\Office\Format $format): self; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
namespace AnourValar\Office\Drivers; | ||
|
||
interface MixInterface | ||
{ | ||
/** | ||
* Set title for an active sheet | ||
* | ||
* @param string $title | ||
* @return self | ||
*/ | ||
public function setSheetTitle(string $title): self; | ||
|
||
/** | ||
* Get title of an active sheet | ||
* | ||
* @return string | ||
*/ | ||
public function getSheetTitle(): string; | ||
|
||
/** | ||
* Merge (union) a sheet from another instanceof of driver | ||
* | ||
* @param \AnourValar\Office\Drivers\MixInterface $driver | ||
* @return self | ||
*/ | ||
public function mergeDriver(\AnourValar\Office\Drivers\MixInterface $driver): self; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace AnourValar\Office\Drivers; | ||
|
||
interface SaveInterface | ||
{ | ||
/** | ||
* Save in specific format | ||
* | ||
* @param string $file | ||
* @param \AnourValar\Office\Format $format | ||
* @return void | ||
*/ | ||
public function save(string $file, \AnourValar\Office\Format $format): void; | ||
} |
Oops, something went wrong.