Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
balises-theatres.com
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Friends of FELINN
Balises
balises-theatres.com
Commits
47929062
Commit
47929062
authored
Jun 22, 2020
by
f00wl
🦉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add asset for max upload size
parent
f184c979
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/Entity/Theater.php
src/Entity/Theater.php
+10
-0
No files found.
src/Entity/Theater.php
View file @
47929062
...
...
@@ -77,6 +77,11 @@ class Theater
/**
* @ORM\Column(type="string", length=255, nullable=true)
* @Assert\File(
* maxSize = "5M",
* mimeTypes = {"image/*"},
* mimeTypesMessage = "Taille limite de l'image: 5Mo"
* )
*/
private
$logo
;
...
...
@@ -118,6 +123,11 @@ class Theater
/**
* @ORM\Column(type="string", length=255, nullable=true)
* @Assert\File(
* maxSize = "5M",
* mimeTypes = {"image/*"},
* mimeTypesMessage = "Taille limite de l'image: 5Mo"
* )
*/
private
$picture
;
...
...
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