<commit_before><?php

/*
 * This file is part of the symfony framework.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

/**
 * sfServiceContainerLoader is the abstract class used by all built-in loaders that are file based.
 *
 * @package    symfony
 * @subpackage service
 * @author     <NAME> <<EMAIL>>
 * @version    SVN: $Id$
 */
abstract class sfServiceContainerLoaderFile extends sfServiceContainerLoader
{
  protected
    $paths = array();

  /**
   * Constructor.
   *
   * @param sfServiceContainerBuilder $container A sfServiceContainerBuilder instance
   * @param array                     $paths An array of paths where to look for resources
   */
  public function __construct(sfServiceContainerBuilder $container = null, $paths = array())
  {
    parent::__construct($container);

    if (!is_array($paths))
    {
      $paths = array($paths);
    }

    $this->paths = $paths;
  }

  protected function getAbsolutePath($file, $currentPath = null)
  {
    if (self::isAbsolutePath($file))
    {<commit_msg>[dependency_injection] fixed PHPDoc<commit_after><?php

/*
 * This file is part of the symfony framework.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

/**
 * sfServiceContainerLoader is the abstract class used by all built-in loaders that are file based.
 *
 * @package    symfony
 * @subpackage service
 * @author     <NAME> <<EMAIL>>
 * @version    SVN: $Id$
 */
abstract class sfServiceContainerLoaderFile extends sfServiceContainerLoader
{
  protected
    $paths = array();

  /**
   * Constructor.
   *
   * @param sfServiceContainerBuilder $container A sfServiceContainerBuilder instance
   * @param string|array              $paths     A path or an array of paths where to look for resources
   */
  public function __construct(sfServiceContainerBuilder $container = null, $paths = array())
  {
    parent::__construct($container);

    if (!is_array($paths))
    {
      $paths = array($paths);
    }

    $this->paths = $paths;
  }

  protected function getAbsolutePath($file, $currentPath = null)
  {
    if (self::isAbsolutePath($file))
    {
{'fraction_non_alphanumeric': 0.10949868073878628, 'fraction_numerical': 0.0, 'mean_word_length': 3.2364990689013036, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2254145', 'n_tokens_mistral': 654, 'n_tokens_neox': 641, 'n_words': 213}