<commit_before><?php

namespace Mindlahus\SymfonyAssets\AbstractInterface;

use Doctrine\Common\Persistence\ObjectManager;
use Mindlahus\SymfonyAssets\Helper\RequestHelper;
use Symfony\Bridge\Monolog\Logger;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\PropertyAccess\PropertyAccess;
use Symfony\Component\PropertyAccess\PropertyAccessor;

abstract class ResourceAbstract implements ResourceInterface
{
    /**
     * @var Request
     */
    protected $request;
    /**
     * @var ObjectManager
     */
    protected $entityManager;
    /**
     * @var Logger $logger
     */
    protected $logger;
    /**
     * @var PropertyAccess
     */
    protected $accessor;
    /**
     * @var ContainerInterface
     */
    protected $container;

    protected $requestContent;

    /**
     * IMPORTANT!   If you should use an instance of the RequestStack,
     *              return the Request by calling $request->getCurrentRequest()
     *
     * ResourceAbstract constructor.
     * @param Request $request
     * @param ObjectManager $entityManager
     * @param Logger $logger
     * @param \stdClass|null $requestContent
     */
    public function __construct(
        Request $request,
        ObjectManager $entityManager,
        Logger $logger,
        \stdClass $requestContent = null
    )
    {
        $this->request = $request;
        $this->entityManager = $entityManager;<commit_msg>Minior phpdoc update<commit_after><?php

namespace Mindlahus\SymfonyAssets\AbstractInterface;

use Doctrine\Common\Persistence\ObjectManager;
use Mindlahus\SymfonyAssets\Helper\RequestHelper;
use Symfony\Bridge\Monolog\Logger;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\PropertyAccess\PropertyAccess;
use Symfony\Component\PropertyAccess\PropertyAccessor;

abstract class ResourceAbstract implements ResourceInterface
{
    /**
     * @var Request
     */
    protected $request;
    /**
     * @var ObjectManager
     */
    protected $entityManager;
    /**
     * @var Logger $logger
     */
    protected $logger;
    /**
     * @var PropertyAccess
     */
    protected $accessor;
    /**
     * @var ContainerInterface
     */
    protected $container;

    protected $requestContent;

    /**
     * IMPORTANT!   If you should use an instance of the RequestStack,
     *              return the Request by calling $request->getCurrentRequest()
     *
     * ResourceAbstract constructor.
     * @param Request $request
     * @param ObjectManager $entityManager
     * @param Logger $logger
     * @param \stdClass|null $requestContent
     * @throws \Throwable
     */
    public function __construct(
        Request $request,
        ObjectManager $entityManager,
        Logger $logger,
        \stdClass $requestContent = null
    )
    {
        $this->request = $request;
        $this->entityManager = $entityManager;
{'fraction_non_alphanumeric': 0.09417637271214642, 'fraction_numerical': 0.0, 'mean_word_length': 2.843989769820972, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7309264', 'n_tokens_mistral': 798, 'n_tokens_neox': 793, 'n_words': 185}