"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Form/FormInterface.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

FormInterface.php  (phplist-3.4.5.tgz):FormInterface.php  (phplist-3.4.6.tgz)
skipping to change at line 34 skipping to change at line 34
* Sets the parent form. * Sets the parent form.
* *
* @param FormInterface|null $parent The parent form or null if it's the roo t * @param FormInterface|null $parent The parent form or null if it's the roo t
* *
* @return $this * @return $this
* *
* @throws Exception\AlreadySubmittedException if the form has already been submitted * @throws Exception\AlreadySubmittedException if the form has already been submitted
* @throws Exception\LogicException when trying to set a parent f or a form with * @throws Exception\LogicException when trying to set a parent f or a form with
* an empty name * an empty name
*/ */
public function setParent(self $parent = null); public function setParent(FormInterface $parent = null);
/** /**
* Returns the parent form. * Returns the parent form.
* *
* @return self|null The parent form or null if there is none * @return self|null The parent form or null if there is none
*/ */
public function getParent(); public function getParent();
/** /**
* Adds or replaces a child to the form. * Adds or replaces a child to the form.
* *
* @param FormInterface|string|int $child The FormInterface instance or th * @param FormInterface|string $child The FormInterface instance or the na
e name of the child me of the child
* @param string|null $type The child's type, if a name was * @param string|null $type The child's type, if a name was pass
passed ed
* @param array $options The child's options, if a name w * @param array $options The child's options, if a name was p
as passed assed
* *
* @return $this * @return $this
* *
* @throws Exception\AlreadySubmittedException if the form has already been submitted * @throws Exception\AlreadySubmittedException if the form has already been submitted
* @throws Exception\LogicException when trying to add a child to a non-compound form * @throws Exception\LogicException when trying to add a child to a non-compound form
* @throws Exception\UnexpectedTypeException if $child or $type has an une xpected type * @throws Exception\UnexpectedTypeException if $child or $type has an une xpected type
*/ */
public function add($child, $type = null, array $options = []); public function add($child, $type = null, array $options = []);
/** /**
skipping to change at line 211 skipping to change at line 211
/** /**
* Returns the property path that the form is mapped to. * Returns the property path that the form is mapped to.
* *
* @return PropertyPathInterface|null The property path instance * @return PropertyPathInterface|null The property path instance
*/ */
public function getPropertyPath(); public function getPropertyPath();
/** /**
* Adds an error to this form. * Adds an error to this form.
* *
* @param FormError $error
*
* @return $this * @return $this
*/ */
public function addError(FormError $error); public function addError(FormError $error);
/** /**
* Returns whether the form and all children are valid. * Returns whether the form and all children are valid.
* *
* If the form is not submitted, this method always returns false (but will throw an exception in 4.0). * If the form is not submitted, this method always returns false (but will throw an exception in 4.0).
* *
* @return bool * @return bool
 End of changes. 3 change blocks. 
9 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)