-
-
Notifications
You must be signed in to change notification settings - Fork 50
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 #72 from niden/master
Phalcon v5.0.0-beta2
- Loading branch information
Showing
6 changed files
with
106 additions
and
3 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
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,28 @@ | ||
<?php | ||
|
||
/* This file is part of the Phalcon Framework. | ||
* | ||
* (c) Phalcon Team <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE.txt | ||
* file that was distributed with this source code. | ||
*/ | ||
namespace Phalcon\Support\Helper\Str; | ||
|
||
/** | ||
* Converts strings to kebab-case style | ||
*/ | ||
class KebabCase extends \Phalcon\Support\Helper\Str\PascalCase | ||
{ | ||
|
||
|
||
/** | ||
* @param string $text | ||
* @param string|null $delimiters | ||
* | ||
* @return string | ||
*/ | ||
public function __invoke(string $text, string $delimiters = null): string | ||
{ | ||
} | ||
} |
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,38 @@ | ||
<?php | ||
|
||
/* This file is part of the Phalcon Framework. | ||
* | ||
* (c) Phalcon Team <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE.txt | ||
* file that was distributed with this source code. | ||
*/ | ||
namespace Phalcon\Support\Helper\Str; | ||
|
||
/** | ||
* Converts strings to PascalCase style | ||
*/ | ||
class PascalCase | ||
{ | ||
|
||
|
||
/** | ||
* @param string $text | ||
* @param string|null $delimiters | ||
* | ||
* @return string | ||
*/ | ||
public function __invoke(string $text, string $delimiters = null): string | ||
{ | ||
} | ||
|
||
/** | ||
* @param string $text | ||
* @param string|null $delimiters | ||
* | ||
* @return array | ||
*/ | ||
protected function processArray(string $text, string $delimiters = null): array | ||
{ | ||
} | ||
} |
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,28 @@ | ||
<?php | ||
|
||
/* This file is part of the Phalcon Framework. | ||
* | ||
* (c) Phalcon Team <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE.txt | ||
* file that was distributed with this source code. | ||
*/ | ||
namespace Phalcon\Support\Helper\Str; | ||
|
||
/** | ||
* Converts strings to snake_case style | ||
*/ | ||
class SnakeCase extends \Phalcon\Support\Helper\Str\PascalCase | ||
{ | ||
|
||
|
||
/** | ||
* @param string $text | ||
* @param string|null $delimiters | ||
* | ||
* @return string | ||
*/ | ||
public function __invoke(string $text, string $delimiters = null): string | ||
{ | ||
} | ||
} |
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