This repository was archived by the owner on Sep 20, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 *
99 * New BSD License
1010 *
11- * Copyright © 2007-2015, Ivan Enderlin . All rights reserved.
11+ * Copyright © 2007-2015, Hoa community . All rights reserved.
1212 *
1313 * Redistribution and use in source and binary forms, with or without
1414 * modification, are permitted provided that the following conditions are met:
4141 *
4242 * Interface to visit an element.
4343 *
44- * @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
45- * @copyright Copyright © 2007-2015 Ivan Enderlin.
44+ * @copyright Copyright © 2007-2015 Hoa community
4645 * @license New BSD License
4746 */
48-
49- interface Element {
50-
47+ interface Element
48+ {
5149 /**
5250 * Accept a visitor.
5351 *
54- * @access public
5552 * @param \Hoa\Visitor\Visit $visitor Visitor.
5653 * @param mixed &$handle Handle (refence).
5754 * @param mixed $eldnah Handle (no reference).
5855 * @return mixed
5956 */
60- public function accept ( Visit $ visitor ,
61- &$ handle = null ,
62- $ eldnah = null );
57+ public function accept (Visit $ visitor , &$ handle = null , $ eldnah = null );
6358}
Original file line number Diff line number Diff line change 88 *
99 * New BSD License
1010 *
11- * Copyright © 2007-2015, Ivan Enderlin . All rights reserved.
11+ * Copyright © 2007-2015, Hoa community . All rights reserved.
1212 *
1313 * Redistribution and use in source and binary forms, with or without
1414 * modification, are permitted provided that the following conditions are met:
4343 *
4444 * Test suite of the interface.
4545 *
46- * @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
47- * @copyright Copyright © 2007-2015 Ivan Enderlin.
46+ * @copyright Copyright © 2007-2015 Hoa community
4847 * @license New BSD License
4948 */
50-
51- class Element extends Test \Unit \Suite {
52-
53- public function case_interface ( ) {
54-
49+ class Element extends Test \Unit \Suite
50+ {
51+ public function case_interface ()
52+ {
5553 $ this
5654 ->when ($ result = new \Mock \Hoa \Visitor \Element ())
5755 ->object ($ result )
Original file line number Diff line number Diff line change 88 *
99 * New BSD License
1010 *
11- * Copyright © 2007-2015, Ivan Enderlin . All rights reserved.
11+ * Copyright © 2007-2015, Hoa community . All rights reserved.
1212 *
1313 * Redistribution and use in source and binary forms, with or without
1414 * modification, are permitted provided that the following conditions are met:
4343 *
4444 * Test suite of the interface.
4545 *
46- * @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
47- * @copyright Copyright © 2007-2015 Ivan Enderlin.
46+ * @copyright Copyright © 2007-2015 Hoa community
4847 * @license New BSD License
4948 */
50-
51- class Visit extends Test \Unit \Suite {
52-
53- public function case_interface ( ) {
54-
49+ class Visit extends Test \Unit \Suite
50+ {
51+ public function case_interface ()
52+ {
5553 $ this
5654 ->when ($ result = new \Mock \Hoa \Visitor \Visit ())
5755 ->object ($ result )
Original file line number Diff line number Diff line change 88 *
99 * New BSD License
1010 *
11- * Copyright © 2007-2015, Ivan Enderlin . All rights reserved.
11+ * Copyright © 2007-2015, Hoa community . All rights reserved.
1212 *
1313 * Redistribution and use in source and binary forms, with or without
1414 * modification, are permitted provided that the following conditions are met:
4141 *
4242 * Visitor interface.
4343 *
44- * @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
45- * @copyright Copyright © 2007-2015 Ivan Enderlin.
44+ * @copyright Copyright © 2007-2015 Hoa community
4645 * @license New BSD License
4746 */
48-
49- interface Visit {
50-
47+ interface Visit
48+ {
5149 /**
5250 * Visit an element.
5351 *
54- * @access public
5552 * @param \Hoa\Visitor\Element $element Element to visit.
5653 * @param mixed &$handle Handle (reference).
5754 * @param mixed $eldnah Handle (not reference).
5855 * @return mixed
5956 */
60- public function visit ( Element $ element ,
61- &$ handle = null ,
62- $ eldnah = null );
57+ public function visit (Element $ element , &$ handle = null , $ eldnah = null );
6358}
You can’t perform that action at this time.
0 commit comments