Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
cc011cce
Commit
cc011cce
authored
Feb 09, 2022
by
Antony Le Courtes
Browse files
missing tag php
parent
ddf80576
Changes
1
Hide whitespace changes
Inline
Side-by-side
module/Application/src/Form/TypeIntervention/Traits/TypeInterventionStatutDeleteFormAwareTrait.php
View file @
cc011cce
?
php
<?php
namespace
Application\Form\TypeIntervention\Traits
;
use
Application\Form\TypeIntervention\TypeInterventionStatutDeleteForm
;
/**
* Description of TypeInterventionStatutDeleteFormAwareTrait
*
* @author UnicaenCode
*/
* Description of TypeInterventionStatutDeleteFormAwareTrait
*
* @author UnicaenCode
*/
trait
TypeInterventionStatutDeleteFormAwareTrait
{
/**
* @var TypeInterventionStatutDeleteForm
*/
private
$formTypeInterventionStatutDelete
;
/**
* @var TypeInterventionStatutDeleteForm
*/
private
$formTypeInterventionStatutDelete
;
/**
* @param TypeInterventionStatutSaisieForm $formTypeInterventionStatutDelete
*
* @return self
*/
public
function
setFormTypeInterventionStatutDelete
(
TypeInterventionStatutDeleteForm
$formTypeInterventionStatutDelete
)
{
$this
->
formTypeInterventionStatutDelete
=
$formTypeInterventionStatutDelete
;
/**
* @param TypeInterventionStatutSaisieForm $formTypeInterventionStatutDelete
*
* @return self
*/
public
function
setFormTypeInterventionStatutDelete
(
TypeInterventionStatutDeleteForm
$formTypeInterventionStatutDelete
)
{
$this
->
formTypeInterventionStatutDelete
=
$formTypeInterventionStatutDelete
;
return
$this
;
}
return
$this
;
}
/**
* Retourne un nouveau formulaire ou fieldset systématiquement, sauf si ce dernier a été fourni manuellement.
*
* @return TypeInterventionStatutDeleteForm
*/
public
function
getFormTypeInterventionStatutDelete
()
{
if
(
!
empty
(
$this
->
formTypeInterventionStatutDelete
))
{
return
$this
->
formTypeInterventionStatutDelete
;
}
/**
* Retourne un nouveau formulaire ou fieldset systématiquement, sauf si ce dernier a été fourni manuellement.
*
* @return TypeInterventionStatutDeleteForm
*/
public
function
getFormTypeInterventionStatutDelete
()
{
if
(
!
empty
(
$this
->
formTypeInterventionStatutDelete
))
{
return
$this
->
formTypeInterventionStatutDelete
;
}
return
\
Application
::
$container
->
get
(
'FormElementManager'
)
->
get
(
TypeInterventionStatutDeleteForm
::
class
);
}
return
\
Application
::
$container
->
get
(
'FormElementManager'
)
->
get
(
TypeInterventionStatutDeleteForm
::
class
);
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
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