Browse Source

[CssSelector] tagged the guaranteed BC API

Fabien Potencier 14 năm trước cách đây
mục cha
commit
f58654c6fd

+ 4 - 0
src/Symfony/Component/CssSelector/Parser.php

@@ -21,6 +21,8 @@ namespace Symfony\Component\CssSelector;
  * which is copyright Infrae and distributed under the BSD license.
  * which is copyright Infrae and distributed under the BSD license.
  *
  *
  * @author Fabien Potencier <fabien@symfony.com>
  * @author Fabien Potencier <fabien@symfony.com>
+ *
+ * @api
  */
  */
 class Parser
 class Parser
 {
 {
@@ -35,6 +37,8 @@ class Parser
      * @return string
      * @return string
      *
      *
      * @throws SyntaxError When got None for xpath expression
      * @throws SyntaxError When got None for xpath expression
+     *
+     * @api
      */
      */
     static public function cssToXpath($cssExpr, $prefix = 'descendant-or-self::')
     static public function cssToXpath($cssExpr, $prefix = 'descendant-or-self::')
     {
     {