Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
16716097
Commit
16716097
authored
Sep 07, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed code examples from validation/messages class.
parent
5ee1d8db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
34 deletions
+0
-34
messages.php
laravel/validation/messages.php
+0
-34
No files found.
laravel/validation/messages.php
View file @
16716097
...
@@ -26,11 +26,6 @@ class Messages {
...
@@ -26,11 +26,6 @@ class Messages {
*
*
* Duplicate messages will not be added.
* Duplicate messages will not be added.
*
*
* <code>
* // Add an error message for the "email" key
* $messages->add('email', 'The e-mail address is invalid.');
* </code>
*
* @param string $key
* @param string $key
* @param string $message
* @param string $message
* @return void
* @return void
...
@@ -46,11 +41,6 @@ class Messages {
...
@@ -46,11 +41,6 @@ class Messages {
/**
/**
* Determine if messages exist for a given key.
* Determine if messages exist for a given key.
*
*
* <code>
* // Determine if there are any messages for the "email" key
* $has = $messages->has('email');
* </code>
*
* @param string $key
* @param string $key
* @return bool
* @return bool
*/
*/
...
@@ -64,14 +54,6 @@ class Messages {
...
@@ -64,14 +54,6 @@ class Messages {
*
*
* Optionally, a format may be specified for the returned message.
* Optionally, a format may be specified for the returned message.
*
*
* <code>
* // Get the first message for the "email" key
* $message = $messages->first('email');
*
* // Get the first message for the "email" key wrapped in <p> tags
* $message = $messages->first('email', '<p>:message</p>');
* </code>
*
* @param string $key
* @param string $key
* @param string $format
* @param string $format
* @return string
* @return string
...
@@ -84,14 +66,6 @@ class Messages {
...
@@ -84,14 +66,6 @@ class Messages {
/**
/**
* Get all of the messages for a key.
* Get all of the messages for a key.
*
*
* <code>
* // Get all of the messages for the "email" key
* $message = $messages->get('email');
*
* // Get all of the messages for the "email" key wrapped in <p> tags
* $message = $messages->get('email', '<p>:message</p>');
* </code>
*
* @param string $key
* @param string $key
* @param string $format
* @param string $format
* @return array
* @return array
...
@@ -106,14 +80,6 @@ class Messages {
...
@@ -106,14 +80,6 @@ class Messages {
/**
/**
* Get all of the messages for every key.
* Get all of the messages for every key.
*
*
* <code>
* // Get all of the messages for every key
* $message = $messages->all();
*
* // Get all of the messages for every key wrapped in <p> tags
* $message = $messages->all('<p>:message</p>');
* </code>
*
* @param string $format
* @param string $format
* @return array
* @return array
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment