This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from ipunkt/php-advanced-config
Php advanced config
- Loading branch information
Showing
9 changed files
with
243 additions
and
6 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
app/Blueprint/Infrastructure/Service/Maker/PhpFpm/DefaultTimezone.php
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,22 @@ | ||
<?php namespace Rancherize\Blueprint\Infrastructure\Service\Maker\PhpFpm; | ||
|
||
/** | ||
* Interface DefaultTimezone | ||
* @package Rancherize\Blueprint\Infrastructure\Service\Maker\PhpFpm | ||
* | ||
* Possibly implemented by a PhpVersion. | ||
* Sets the default timezone used by php | ||
*/ | ||
interface DefaultTimezone { | ||
|
||
const DEFAULT_TIMEZONE = 'default'; | ||
|
||
/** | ||
* Set the default php timezone | ||
* | ||
* @param $defaultTimezone | ||
* @return $this | ||
*/ | ||
function setDefaultTimezone( $defaultTimezone ); | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
app/Blueprint/Infrastructure/Service/Maker/PhpFpm/MemoryLimit.php
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,16 @@ | ||
<?php namespace Rancherize\Blueprint\Infrastructure\Service\Maker\PhpFpm; | ||
|
||
/** | ||
* Interface MemoryLimit | ||
* @package Rancherize\Blueprint\Infrastructure\Service\Maker\PhpFpm | ||
*/ | ||
interface MemoryLimit { | ||
|
||
const DEFAULT_MEMORY_LIMIT = 'default'; | ||
|
||
/** | ||
* @return $this | ||
*/ | ||
function setMemoryLimit($limit); | ||
|
||
} |
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
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
15 changes: 15 additions & 0 deletions
15
app/Blueprint/Infrastructure/Service/Maker/PhpFpm/PostLimit.php
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 Rancherize\Blueprint\Infrastructure\Service\Maker\PhpFpm; | ||
|
||
/** | ||
* Interface PostLimit | ||
* @package Rancherize\Blueprint\Infrastructure\Service\Maker\PhpFpm | ||
*/ | ||
interface PostLimit { | ||
|
||
const DEFAULT_POST_LIMIT = 'default'; | ||
|
||
/** | ||
* @return $this | ||
*/ | ||
function setPostLimit($limit); | ||
} |
16 changes: 16 additions & 0 deletions
16
app/Blueprint/Infrastructure/Service/Maker/PhpFpm/UploadFileLimit.php
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,16 @@ | ||
<?php namespace Rancherize\Blueprint\Infrastructure\Service\Maker\PhpFpm; | ||
|
||
/** | ||
* Interface UploadFileLimit | ||
* @package Rancherize\Blueprint\Infrastructure\Service\Maker\PhpFpm | ||
*/ | ||
interface UploadFileLimit { | ||
|
||
const DEFAULT_UPLOAD_FILE_LIMIT = 'default'; | ||
|
||
/** | ||
* @return $this | ||
*/ | ||
function setUploadFileLimit($limit); | ||
|
||
} |
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