<commit_before><?php

namespace AppBundle\Service;

use Vich\UploaderBundle\Mapping\PropertyMapping;
use Vich\UploaderBundle\Naming\DirectoryNamerInterface;

/**
 * Class DirectoryNamerService
 *
 * @author <NAME> <<EMAIL>>
 */
class DirectoryNamerService implements DirectoryNamerInterface
{
    /**
     * @param object          $object
     * @param PropertyMapping $mapping
     *
     * @return string
     */
    public function directoryName($object, PropertyMapping $mapping)
    {
        /** @var \DateTime $date */
        $date = $object->getCreatedAt();

        return $date->format('Y').'/'.$date->format('m').'/'.$date->format('d');
    }
}<commit_msg>Fix annotation fail<commit_after><?php

namespace AppBundle\Service;

use Vich\UploaderBundle\Mapping\PropertyMapping;
use Vich\UploaderBundle\Naming\DirectoryNamerInterface;

/**
 * Class DirectoryNamerService
 *
 * @author <NAME> <<EMAIL>>
 */
class DirectoryNamerService implements DirectoryNamerInterface
{
    /**
     * {@inheritdoc}
     */
    public function directoryName($object, PropertyMapping $mapping)
    {
        /** @var \DateTime $date */
        $date = $object->getCreatedAt();

        return $date->format('Y').'/'.$date->format('m').'/'.$date->format('d');
    }
}
{'fraction_non_alphanumeric': 0.15672235481304694, 'fraction_numerical': 0.0, 'mean_word_length': 3.3832752613240418, 'pattern_counts': {'":': 0, '<': 11, '<?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': '2394614', 'n_tokens_mistral': 376, 'n_tokens_neox': 367, 'n_words': 67}